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 / vinay sonar
Print the contents of file using IDCAMS utility if it is
empty you will get MAXCC 4
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How dummy is used in jcl?
what is JCL?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Are there any set of rules for the names of the steps used in a job? What are they?
What are steplib and joblib?
Where can program checkpoints be stored for use in a restart?
what is use of disp parameter in dd statement?
Why block size is multiple of lrecl in jcl?
How do you overcome this limitation ?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Is there any command to check wether the ps file is in sorted order?
How is a type of file defined in the jcl that executes the cobol program?
what happens in conversion stage in job processing?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?