without performing any operations on a file how can i know
whether it contains data or not
Answer Posted / sravani
through file status we can know this. read is not possible for empty files
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are the pertinent COBOL commands?
State the various causes of s0c1, s0c5 and s0c7.
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
what is the difference between COBOL2 AND COBOL390?
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 ?
Define cobol?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the difference between PIC 9.99 and 9v99 in COBOL?
Why did you choose to work with ibm mainframe cobol programming?
) what is the difference between AID and HANDLE AID?
What is the Purpose of Pointer in the string?
What is the difference between goback, stop run and exit program in cobol?
What is the difference between comp and comp-3?