View previous topic :: View next topic
|
Author |
Message |
N.SUDHA Warnings : 1 New User
Joined: 06 Feb 2006 Posts: 8
|
|
|
|
how to
To create a new member in a PDS, and pass the data for the same from the JCL itself
To compare the contents of two PDS members |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
HI,
Quote: |
To compare the contents of two PDS members |
U can use SUPERC to compare the 2 PDS members.
Hope this helps
Regards
Rupesh |
|
Back to top |
|
|
hariavinash
New User
Joined: 04 Jan 2006 Posts: 64
|
|
|
|
Sudha,
do you mean create a member and pass the dataset name with the member to a jcl in BATCH mode?? |
|
Back to top |
|
|
stly Warnings : 1 New User
Joined: 25 Jul 2005 Posts: 93
|
|
|
|
hI SUDHA HERE IS THE JCL FOR UR 1ST QUESTION
//STEP001 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
//SYSUT2 DD DSN=VVVVVVVVVVVVVVVVVVV(MEM),
// DISP=SHR
//SYSOUT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//*
//STEP02 EXEC SORT
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=XXXXXXXXXXXX,DISP=SHR
//SORTOUT DD DSN=VVVVVVVVVVVVVVVVVVV(MEM),
// DISP=SHR
//SYSIN DD *
SORT FIELDS=COPY
OUTREC FIELDS=(20:20,8)
//SYSOUT DD SYSOUT=*
//
HERE IN THE STEP01 A MEMBER IS CREATED AND IN STEP02 DATA IS COPIED IN TO IT THROUGH SORT CARD
CORRECT ME IF I M NOT CORRECT |
|
Back to top |
|
|
|