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 operation is performed by job statement?
What is the function of a dd statement?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
Explain the purpose of dd dummy statement?
how you can direct the data to spool using SYSOUT option?
How does jcl act on a cobol code?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
How dummy is used in jcl?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
What is the function of the steplib dd statement?
when does a dataset go uncataloged?
What is the motivation behind coding class parameter in job statement?
Can we call instream to catalog and catalog to instream?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
What is concatenating?