How to find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)
Answer Posted / anusha
Hope the dataset browse option (ISPF option) will tell
you 'DATASET is EMPTY' if no records in the file.
| Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
how do you reference the fixed unblock file formats from cobol programs
What are the different types of condition in cobol and write their forms.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What are the access modes of START statement?
how do you reference the variable unblock file formats from cobol programs
Define cobol?
how to move the records from file to array table. give with code example
How are the next sentence and continue different from each other?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
what is difference between cobol and cobol/400
What are the different data types in cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Write down the divisions of cobol program?