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

How does jcl act on code(if you take a cobol program)?

692


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

849


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2246


Is it possible to left uncode disp?

701


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1570






Explain the purpose of the dd keylen parameter?

656


define cond parameter in jcl?

757


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

772


what is the resolution for sb37 error

7673


Why include statement is used in a jcl?

675


What is the purpose of disp parameter?

631


What is NOTCAT ?

727


How can a jobs execution priority be modified?

782


How dummy is used in jcl?

626


what sort card you will use to copy the data from one dataset to another dataset?

708