How you can delete a record from a ps file in cobol?
Answer / shib
No we can not...we can skip a record logically and write the file.
https://www.ibm.com/docs/en/cobol-aix/5.1?topic=mode-file-organization-access
| Is This Answer Correct ? | 0 Yes | 0 No |
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?
How do you define a sort file in JCL that runs the COBOL program?
Why IBM?
What is the use of intialize verb?
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
What are literals?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
perform I from 0 by 1 until I=5?How maney times it will executes
)what is retrieve?
Differentiate between structured cobol programming and object-oriented cobol programming.
How arrays can be defined in COBOL?