How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)
Answer Posted / sroul4
Just write COUNT in front of the data set it will show thw
record count in it. 0 in this case.
| Is This Answer Correct ? | 1 Yes | 10 No |
Post New Answer View All Answers
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How do get the result of your program directly on your pc?
What do you understand by psb and acb?
how to refer the data field?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What are the pertinent COBOL
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Why would you use find and get rather than to obtain?
What are the different open modes available in cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the difference between PIC 9.99 and PIC9v99?
Name some of the examples of COBOl 11?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?