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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

774


Differentiate between addressing mode and run mode.

588


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

898


What are steplib and joblib?

696


how do you code a null statement?

740






What do you understand by jcl?

608


define cond parameter in jcl?

743


How to override loadlib?

1395


whats the diff bw the evaluate also and and?

1828


Explain the function of dd name parameter with a 2 part structure; audit.report?

864


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5038


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

797


what is “Cond= even” and “Cond=only”?

711


Name a few IBM utility programs, and explain its function.

4408


Describe the various parameters utilized in the creation of a gdg?

658