Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / mdv
Simple Sort job'll do.
Give PARM='nullout=rc4'
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
which utility is used to sort a file in jcl?
What is the significance of addrspc parameter in the exec statement?
How jcl work to handle various input output file operations?
when can a job time-out occur? How to overcome that?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What are hierarchy levels in jcl?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Explain the function of the dd dcb keyword?
What does a disposition of (new,catlg,keep) for a dsn mean?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
How do you access an uncatalogued dataset in a jcl?
how can you check if a file is empty using jcl?
how do you code a null statement?