How to test thru JCL if any file(PS or VSAM) is empty or
not. I do not want to use any COBOL prog or Ezytrieve and
want to do using utility.
Answer Posted / naren
IFEMPTY utility is used to check the file is empty or not,
if the return code of this step is 4 then the file is empty.
Is This Answer Correct ? | 15 Yes | 5 No |
Post New Answer View All Answers
Can I send output of job to my remote device careerride123?
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:
Are there any set of rules for the names of the steps used in a job?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Explain the hierarchy levels in jcl?
Explain the function of a dd statement?
What dd statement is used to supply the name of a dataset?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Name what parameter directs the output of the job log dataset?
What is jcl in mainframe?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
what is the purpose of coding class parameter in job statement?
a dd statement has 2 types of parameters. Name them?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?