file status 00 is checked after opening the file or reading
the file
Answers were Sorted based on User's Feedback
Answer / dilli
it can be used for both the situation for successful opening
and reading the file
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / vamsi
file status codes:
41: already opened trying to open again
02:duplicate key
00:opened sucessfully
21:duplicate record
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / srinath
File status is checked at both times i.e while opening as
well as while reading the file also.
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / neha
no it is used for opening the file. for reading file 01 is
code generally.from successful run the code
| Is This Answer Correct ? | 0 Yes | 1 No |
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
SIGN TRAILING SEPARATE field occupy ?
if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.
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.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
how will u find out 3rd week's 2nd day using occurs ?
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
can any one give good example for cond 88 level number and for renames pls urgent dudes ?
Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???
How to remove 2 duplicate records and copy only one using job control language?
88 level entry is used for (a) data items in WORKING-STORAGE SECTION (b) items with RENAMES clause (c) condition-names (d) None of the above
Describe the cobol database components?