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
) how do u code after getting data?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are the pertinent COBOL
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is length is cobol?
Difference between array and sub-script ?
Write a cobol program making use of the redefine clause.
What is the difference between PIC 9.99 and 9v99 in COBOL?
Can a Search can be done on a table with or without Index?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What are the different types of condition in cobol and write their forms.
What is Pic 9v99 Indicates in COBOL?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Write a program that uses move corresponding.
what are decleratives in cobol?