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 to see the COMP3 value(packd decimal)
what happens in execution stage in job processing?
what are the types of abends that occur on job failure? And explain the possible causes of these
Explain the function of the steplib dd statement?
What parameter of the job statement is used to limit the cpu time consumed by the job?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
how do u send return code from cobol to jcl ?
What is NOTCAT ?
what are the ways of passing data to a cobol program from jcl?
How can we execute only one step in a job
22 Answers MAHINDRA, Mind Tree, Tech Mahindra,
Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?
How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.