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
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Explain about LMQUERY�give a dialog information about a data set
how you will the direct the data to spool using sysout option?
What are the utility programs in jcl?
What is the purpose of dd?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
How can a jobs execution priority be modified?
what is DSN in JCL and what are the parameters to declare the DSN?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What is the format of comment statement?
What is the purpose of dd dummy statement?
what is use of dsn parameter in dd statement?
Are there any set of rules for the names of the steps used in a job?