Page 1 of 1

Retrofit the SRC by using REXX

PostPosted: Wed Nov 21, 2012 4:17 pm
by pandian9789
Hi, I am new to REXX. I need to compare line by line 2 pds members which are available in 2 different PDS.If matched or non-matched need to write the 2nd pds member lines into new output PDS. and also need to write 1st PDS member lines after the 2nd PDS member lines written.

For EX:

PDS1(M1)-----Input1
Line1
Line2
Line3
Line4

PDS2(M1)-----Input2
Line1
Line2
Line31
Line41

PDS3(M1)======> (OUTPUT)
Line1
Line2
Line31
Line41
Line3
Line4

I tried a lot. but i couldn't write the PDS1 lines to output.To be frank, If i get the code it would very helpful to me. Can anybody pls help on this? Thanks in advance.

Re: Retrofit the SRC by using REXX

PostPosted: Wed Nov 21, 2012 4:25 pm
by enrico-sorichetti
To be frank, If i get the code it would very helpful to me.


to be really frank it is impolite to ask for AD HOC code ...

since we reply on our own time and free of charge
You should not expect people to develop ad hoc code for Your needs

read the ISPF manuals about SUPERC and the option to create UPDATE control cards

start from here
http://www-03.ibm.com/systems/z/os/zos/ ... index.html

and navigate to the bookshelf for Your zOS level


just curious what is the rule to get

1
2
31
41
3
4

instead of

1
2
3
4
31
41

???

Re: Retrofit the SRC by using REXX

PostPosted: Wed Nov 21, 2012 8:55 pm
by dick scherrer
And your duplicate topic has been locked. . .

Do not post the same topic multiple times - this is not acceptable.

Thanks

d