satyenderd Beginner
Joined: 26 Aug 2005 Posts: 144 Topics: 73
|
Posted: Wed Jul 23, 2008 10:48 am Post subject: How to limit the display of records |
|
|
Hi All,
Could anyone tell me how to limit the display of records on disk from tape, using sort, as the files is on the tape and contains very huge volume of data. I want to bring it to disk to see the records. As I cannot bring all of them, I want to see the sample of data(i.e few records).
I am trying to use the following JCL.
Could anyone correct this please.
thanks in advance.
//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=XXXXXXX,DISP=SHR
//SORTOUT DD DSN=YYYYYYYYY,
// DISP=(,CATLG,DELETE),
// UNIT=WORK,SPACE=(CYL,(100,500),RLSE)
//SYSIN DD *
OPTION COPY
/* _________________ Satya |
|