We are using 2 files , file one has data, file two is
empty.Using jcl how can we find the other file is empty?
Answer Posted / mchava
using IDCAMS utitlity
Print infile(file name) count(1)
it will check whether the file is empty or not
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
List the different components of jcl statement?
How to do automated restart when a job abend?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Explain dd statement in jcl?
How jcl is used for testing batch programs?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What is the difference between run mode and addressing mode?
What is notcat 2 - gs?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What is the purpose of dd?
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:
What is the function of job statement in jcl?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
is there any way to execute more than one proc in the same exec statement at the same time..?
Can we call instream to catalog and catalog to instream?