View previous topic :: View next topic
|
Author |
Message |
umed
New User
Joined: 13 May 2005 Posts: 38
|
|
|
|
Hi,
How can we determine the Record length and the Format for the given
input file ?
Regards,
Amol |
|
Back to top |
|
|
jon_s_rice
Active User
Joined: 24 Mar 2005 Posts: 102 Location: Douglasville, GA USA
|
|
|
|
Use the functiom listdsi. Information is returned in variables. |
|
Back to top |
|
|
umed
New User
Joined: 13 May 2005 Posts: 38
|
|
|
|
Hi,
Thanks for reply .but I want to find the same in VM / CMs environment.Where listdsi do not works.
thanks,
Amol |
|
Back to top |
|
|
Prabha Warnings : 2 New User
Joined: 05 Dec 2005 Posts: 79
|
|
|
|
I tried LISTDSI command, its returning some value.
Ex: returned as 16.
What does it mean? |
|
Back to top |
|
|
jon_s_rice
Active User
Joined: 24 Mar 2005 Posts: 102 Location: Douglasville, GA USA
|
|
|
|
A 16 return code indicates an error occurred, most likely the dataset was not found. If you do not include the dataset in apostraphes it will append your file prefix onm the beginnig. code the lstdsi:
rtn = listdsi('MYPREFX.MYGROUP.LIBRARY')
or
rtn = listdsi("'"rexx_var"'") |
|
Back to top |
|
|
Prabha Warnings : 2 New User
Joined: 05 Dec 2005 Posts: 79
|
|
|
|
Thanks a lot! Its working fine now. |
|
Back to top |
|
|
mohitsaini Warnings : 1 New User
Joined: 15 May 2006 Posts: 92
|
|
|
|
Hi there,
I am also trying to execute REXX in CMS but couldn't get it working.
my code is as follows:
/* REXX GETGDG */
RC = LISTDSI ('DIS.DIDF1601.DI11030.A20')
and it is not working
Please help.
Mohit |
|
Back to top |
|
|
|