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


Please Help Members By Posting Answers For Below Questions

How dummy is used in jcl?

851


what is JCL?

921


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

1077


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.

1998


Are there any set of rules for the names of the steps used in a job? What are they?

808


What are steplib and joblib?

907


Where can program checkpoints be stored for use in a restart?

1155


what is use of disp parameter in dd statement?

843


Why block size is multiple of lrecl in jcl?

1134


How do you overcome this limitation ?

907


Explain how can the disposition of sysout datasets be set for an entire jobstream?

846


Is there any command to check wether the ps file is in sorted order?

2631


How is a type of file defined in the jcl that executes the cobol program?

920


what happens in conversion stage in job processing?

940


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?

2448