What is the mode in which you will OPEN a file for writing?
Answers were Sorted based on User's Feedback
Answer / vikas pujar
If want to write new records :
1) Output - New records will be written , old will be
overwritten.
2) Extend - New records will be appended to existing ones
Where as :
1) I- O : Used to re-write the existing records, but not to
write new records
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / suputhru
I agree with vikas,
only in 2 modes: Output and Extend.
| Is This Answer Correct ? | 2 Yes | 0 No |
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?
How can you get the ksds file records into your cobol program?
What are the various section in data division and briefly explain them.
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How does IDMS communicate with CICS?
What is SDSF?
Differentiate between structured cobol programming and object-oriented cobol programming.
i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?
i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?
what is S04E error in jcl?
11 Answers IBM, L&T,