File status must be checked both while opening and reading
the file or only while reading the file?
Answer Posted / nagaraj ramamoorthy
As a good programming practice, it will be good if you
handle/include all possible error combination in the
program. so the file status must be checked in both cases.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
IF I mention stop run in CICS what happens?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is rmode(any) ?
Explain what you understand by passing by value.
How can you get the ksds file records into your cobol program?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
How many bytes S(8) comp field occupy and its maximum value?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Which division and paragraphs are mandatory for a COBOL program?
) How do u handle errors in BMS macro?
Have you used comp and comp-3 in your project? And how?
Write a program to enter and display the names of students in a class using the occurs clause.
Describe the cobol database components?