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 / deepak dada, jaipur
the handling would happen
if the file is empty then pass the zero to return code in
cobol program
then go to jcl step and check for the conditiom code( 0,
eq) where the program is getting called and do whatever you
want to do
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
i want to store 20 digits . how will u do it in cobol ?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
What are the 2 types of parameters in dd statement?
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.
Name a few IBM utility programs, and explain its function.
How can a stopped job be started again?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
Where & How Do You Code Identifier In Jcl?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
what is the purpose of coding class parameter in job statement?
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 dd mgmtclas keyword in sms datasets?
What is the format of comment statement?
what is the resolution for sb37 error
What is NOTCAT ?