Retrofit the SRC by using REXX



IBM's Command List programming language & Restructured Extended Executor

Retrofit the SRC by using REXX

Postby pandian9789 » Wed Nov 21, 2012 4:17 pm

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.
pandian9789
 
Posts: 3
Joined: Sun Oct 28, 2012 12:46 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Retrofit the SRC by using REXX

 

Re: Retrofit the SRC by using REXX

Postby enrico-sorichetti » Wed Nov 21, 2012 4:25 pm

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

???
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Retrofit the SRC by using REXX

Postby dick scherrer » Wed Nov 21, 2012 8:55 pm

And your duplicate topic has been locked. . .

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

Thanks

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post