shuhaibk54
Technical User
Hi Everyone here....
I need to write the rexx code for reading the content one by of pds member.for example, I have pds with member abctds.join.studen(list),I need to print the value one by one which are all present in the member 'list'.Can any one please help me out to find the solution.One other thing I am able to read the content from PS(see the below code).Please help me out to build the code for read the content of pds member .
Thanks,
Shu
/*REXX */
ADDRESS TSO
"ALLOC F(INFILE) DSN('ABC.CBD.ZKH') SHR REU"
"EXECIO * DISKR INFILE ( FINIS STEM MYFILE."
"FREE F(INFILE)"
I = 1
DO WHILE I <= MYFILE.0
SAY ' LINE ' I ' : ' MYFILE.I
I = I + 1
END
EXIT
I need to write the rexx code for reading the content one by of pds member.for example, I have pds with member abctds.join.studen(list),I need to print the value one by one which are all present in the member 'list'.Can any one please help me out to find the solution.One other thing I am able to read the content from PS(see the below code).Please help me out to build the code for read the content of pds member .
Thanks,
Shu
/*REXX */
ADDRESS TSO
"ALLOC F(INFILE) DSN('ABC.CBD.ZKH') SHR REU"
"EXECIO * DISKR INFILE ( FINIS STEM MYFILE."
"FREE F(INFILE)"
I = 1
DO WHILE I <= MYFILE.0
SAY ' LINE ' I ' : ' MYFILE.I
I = I + 1
END
EXIT