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 |
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
In EBCDIC, how would the number 1234 be stored?
What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?
a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?
i Want All cobol ERROR codes?
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
In COBOL "BEFORE" advancing is there or not ?
What is rmode(any) ?
Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you
What is tne need to use sub programs in Cobol?