
import ibmcnx.functions

dbs = AdminConfig.list( 'DataSource', AdminControl.getCell())

for db in dbs:
    t1 = ibmcnx.functions.getDSId( db )
    AdminConfig.list( t1 )

import ibmcnx.functions

cell = '/' + AdminControl.getCell() + '/'
dbs = AdminConfig.list( 'DataSource', cell )

for db in dbs:
    t1 = ibmcnx.functions.getDSId( db )
    AdminConfig.list( t1 )
Create script to save documentation to a file
4: Create script to save documentation to a file 

Task-Url: http://github.com/stoeps13/ibmcnx2/issues/issue/4
  
  import ibmcnx.functions
  
+ cell = '/' + AdminControl.getCell() + '/'
- dbs = AdminConfig.list( 'DataSource', AdminControl.getCell())
+ dbs = AdminConfig.list( 'DataSource', cell )
  
  for db in dbs:
      t1 = ibmcnx.functions.getDSId( db )
      AdminConfig.list( t1 )
Create script to save documentation to a file
## Code Before:

import ibmcnx.functions

dbs = AdminConfig.list( 'DataSource', AdminControl.getCell())

for db in dbs:
    t1 = ibmcnx.functions.getDSId( db )
    AdminConfig.list( t1 )
## Instruction:
Create script to save documentation to a file
## Code After:

import ibmcnx.functions

cell = '/' + AdminControl.getCell() + '/'
dbs = AdminConfig.list( 'DataSource', cell )

for db in dbs:
    t1 = ibmcnx.functions.getDSId( db )
    AdminConfig.list( t1 )