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 |
I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.
What all are the changes to be made in JCL so as to do testing?
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
Can we use empty VSAM as input?
How do you submit a JCL under CICS environment ?
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
how to create gdg with out using idcams utility
Is it possible to left uncode disp? If yes, how?
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
Name the system library from which modules are retrieved at execution
What are s0c1, s0c4, s0c5, s0c7 and socb?