How to print data of sequential file to Spool..?
Answers were Sorted based on User's Feedback
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 |
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 |
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 ?
wht do u mean by internal reader in jcl ? wht is the use of internal reader ?
If Region=0k means What Happen?
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 ?
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
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
What is a GDG
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?
Which COND paramter will u use to execute the step only if the previous step does not execute
How to print data of sequential file to Spool..?