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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is condition checking in jcl? Is this possible?

624


Explain dd statement in jcl?

642


when does a dataset go uncataloged?

831


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1625


which utility is used a dummy utility?

791






How is the record format of an output dataset specified?

743


can any one plzzzzzz tell the jcl code for creating ps using idcams

10511


what is use of disp parameter in dd statement?

661


how you can access an uncataloged dataset in a JCL?

651


In sms datasets, what is the function of the dd avgrec keyword?

650


Is it possible to left uncode disp?

711


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

655


What are the parameters that are used in creating a gdg?

737


What is the use of disp parameter?

653


What is use of restart and how to use it?

766