Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How to see the COMP3 value(packd decimal)

2 Answers   iGate,


what happens in execution stage in job processing?

0 Answers   IBM,


what are the types of abends that occur on job failure? And explain the possible causes of these

0 Answers  


Explain the function of the steplib dd statement?

0 Answers  


What parameter of the job statement is used to limit the cpu time consumed by the job?

0 Answers  


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

0 Answers   IBM,


how do u send return code from cobol to jcl ?

2 Answers   TCS,


What is NOTCAT ?

0 Answers  


what are the ways of passing data to a cobol program from jcl?

1 Answers   IBM,


How can we execute only one step in a job

22 Answers   MAHINDRA, Mind Tree, Tech Mahindra,


Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?

8 Answers   Saggezza,


How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.

13 Answers   IBM,


Categories