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 need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
I know my query will return more than one row but I don't want cursor what should I do?
How to resolve the soc4 and soc7 errors?
Write a cobol program making use of the redefine clause.
How to solve SOC7. I have the cobol coded as below 01 A PIC 9(4). 01 AIN REDEFINES A. 05 AIN1 PIC S9(4) 01 B PIC 9(4)V99. 01 BIN REDEFINES B. 05 BIN1 PIC S9(4)V99. PROCEDURE DIVISION. START-PARA. INITIALIZE A AIN B BIN. ACCEPT A B. DISPLAY 'VALUE OF A=' A. DISPLAY 'VALUE OF B=' B. DISPLAY 'VALUE OF BIN1=' BIN1. DISPLAY 'VALUE OF AIN1=' AIN1. COMPUTE AIN1 = BIN1 - AIN1. DISPLAY 'VALUE OF AIN1=' AIN1. When i'm executing this code i'm getting SOC7 for A = 12 & B=34. Can someone explain SDSF OUTPUT DISPLAY TCOM058R JOB05458 DSID 102 LINE 0 COLUMNS 02- 81 COMMAND INPUT ===> SCROLL ===> CSR ********************************* TOP OF DATA ********************************** VALUE OF A=12 VALUE OF B=34 VALUE OF BIN1=34 VALUE OF AIN1=12 CEE3207S The system detected a data exception (System Completion Code=0C7). From compile unit PROG1 at entry point PROG1 at statement 29 at compile +000004CE at address 00007ECE. Please address how to solve this issue Thanks in advance.
How include time & date in the report generation in cobol programing?
How you can delete a record from a ps file in cobol?
how many bytes does a s9(12)COMP-4 field occupy?? a.2 b.4 c.8 d.1 ans with reason please
is this below syntax correct? CALL 'subprg' using A,B Please help
We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)
In COBOL programming, what is PERFORM? What is VARYING?
how many maximum no of variables can be declared in linkage section ?