
import ibmcnx.functions

ds = AdminConfig.list('DataSource')

dsArray = ds.splitlines()
test = AdminControl.getPropertiesForDataSource(dsArray[0])

print dsArray
print '\n'
print test

import ibmcnx.functions

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
  
+ t1 = ibmcnx.functions.getDSId( db )
+ AdminConfig.list( t1 )
- ds = AdminConfig.list('DataSource')
- 
- dsArray = ds.splitlines()
- test = AdminControl.getPropertiesForDataSource(dsArray[0])
- 
- print dsArray
- print '\n'
- print test
Create script to save documentation to a file
## Code Before:

import ibmcnx.functions

ds = AdminConfig.list('DataSource')

dsArray = ds.splitlines()
test = AdminControl.getPropertiesForDataSource(dsArray[0])

print dsArray
print '\n'
print test
## Instruction:
Create script to save documentation to a file
## Code After:

import ibmcnx.functions

t1 = ibmcnx.functions.getDSId( db )
AdminConfig.list( t1 )