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

Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file?

13 Answers   CGI, DSRC, IBM,


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

1 Answers  


wht do u mean by internal reader in jcl ? wht is the use of internal reader ?

1 Answers   Syntel,


If Region=0k means What Happen?

2 Answers   IBM,


How can we execute only one step in a job

22 Answers   MAHINDRA, Mind Tree, Tech Mahindra,


What happens if both JOBLIB and STEPLIB is specified ?

8 Answers  


I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP

4 Answers   CSC,


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

0 Answers   HF, iNautix,


What is a GDG

4 Answers   IBM,


There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?

9 Answers   Infosys,


Which COND paramter will u use to execute the step only if the previous step does not execute

3 Answers   BoA, HSBC,


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

2 Answers  


Categories