How to print data of sequential file to Spool..?

Answers were Sorted based on User's Feedback



How to print data of sequential file to Spool..?..

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

How to print data of sequential file to Spool..?..

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

Post New Answer

More JCL Interview Questions

IN-STREAM DATA NOT ALLOWED IN PROC how can come out from this problem

7 Answers  


What is DYNAMBR in jcl?

2 Answers   CTS,


what is the difference between return code and maxcc?

2 Answers   iGate,


if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete

4 Answers  


what is full form of AIX

3 Answers   Accenture,


What is one line to pass PARM from JCL to COBOL?

0 Answers  


How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?

1 Answers  


What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?

4 Answers  


What do you understand by the terms: joblib and steplib?

0 Answers  


Which storage devices are grouped under DASD and SYSDA ?

1 Answers   IBM,


How to read records in reverse order in flat file?

1 Answers  


WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)

8 Answers   ADP,


Categories