hi, can you ppl tell me, how to check whether the rewrite
we gave for the ksds file is successful or not in the
program.? i gave rewrite, the rewrite code is executing and
maxcc=0 but updation doenot happen in the file?
Answer / lu
In cobol batch program for KSDS,ESDS ,every time you write
or rewrite or delete,READ..you HAVE to check FILE-STATUS ...
Test FILE-STATUS !! Don't use INVALID KEY !!!
in CICS, you check EIBRESP....
| Is This Answer Correct ? | 9 Yes | 0 No |
If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?
i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
for an INITIALIZE and what keyword allows for an override of the default.
What will happen if we generate GDG +2 version instead of +1 version?
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
can i use multiple when statements in search & search all ? justify ur answer?
what is the minimum number of lines a Cobol program should have to successfully compile and run
11 Answers ABC, Societe Generale,
What is the default value of DISP for temp datasets