What is the default value of DISP parameter?
Answers were Sorted based on User's Feedback
Answer / hari kumar
DISP= NEW (NEW,DELETE,DELETE)
SHR (SHR,KEEP,KEEP)
OLD (OLD,KEEP,KEEP)
MOD (MOD,CATLG,CATLG)
| Is This Answer Correct ? | 39 Yes | 3 No |
Answer / rekha
new--> delete,delete
old--> catlg,catlg
mod--> uncatlg,keep
shr--> keep,uncatlg
| Is This Answer Correct ? | 6 Yes | 12 No |
I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..
What is the local-storage section?
How do you set a return code to the JCL from a COBOL program?
what is label record is standard or omitted in file description of data division?
Why we need to use redefine clause when we can define the variable seperately... what is actual need....
level number 77 is used to define a)group data b)elementary data c)redefine d)none
If you were passing a table via linkage, which is preferable - a subscript or an index?
I have a sequential file of 100 records. How do I load the records into a two dimensional array ?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
How to read the last 100 records from a COBOL file. The file contains N number of records.