I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
Answer / dk
No, The program will not ABEND in the case if two WRITE statements are given in the same PARA.
It's all up to your condition. If both the conditions are met, two records will be written to the file.
| Is This Answer Correct ? | 19 Yes | 0 No |
how to convert the recors form vsam file to db2 table tru file aid
Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.
Determine the total no of bytes in the following. 01 rec1. 02 a pic x(6) 02 b redefines a. 03 c occus 6 times pic 9. 02 d occurs 6 times pic 9. 03 e pic x(5) 03 f pic 999.
What does MAXCC 3 means? It is used in one my codes.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.
what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
What are literals?
Write down the divisions of cobol program?
How many types of sorts are there in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there