How to print data of sequential file to Spool..?
Answers were Sorted based on User's Feedback
Answer / valmiki1980
//JOB CARD
//STEP01 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=XXXXXXXXXXXXX,DISP=SHR
//SYSUT2 DD SYSOUT=* // THIS STEP WILL PRINT FILE TO SPOOL
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / krishna
//jobname JOB NOTIFY=&SYSUID
//STEP EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
PRINT IDS("DATASET NAME") HEX/DUMP/CHAR
/*
| Is This Answer Correct ? | 0 Yes | 1 No |
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What happens if both JOBLIB and STEPLIB is specified ?
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
I have three files for one step i need to override the third file how to do that in jcl?
In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides
A job has 150 steps i want to execute only 57th step
How would you understand error(execution phase)?
Explain about ISPF/TSO Commands
can any one plzzzzzz tell the jcl code for creating ps using idcams
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?