Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?
Answer Posted / arun
Use the SORT utility with NULLOUT=RC04 OR RC16..If the file
is empty the step returns either 04 or 16 depending on what
you coded.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are hierarchy levels in jcl?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
if the submitter of a job wants to inform another user about the job completion, how can it be done?
Give the syntax of job specifying jcl statement.
A dd statement consists of 4 fields. Name them?
what sort card you will use to copy the data from one dataset to another dataset?
which parameter is use to declare the name of dataset in dd statement?
What is the function of //cntl statement?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
what is use of disp parameter in dd statement?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
what JCL Procedures?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?