what will happen if i give program name and member name as
different? program runs successful or w'll abend?
Answer Posted / tata
(a)//COMPILE.SYSIN DD DSN=OZA093.SUNIL.COBO1(DATE),DISP=SHR
(b)//LKED.SYSLMOD DD
DSN=OZA093.SUNIL.LOADLIB(DATE),DISP=SHR
here (a) is for compilation.and (b) is for
execution.i.e.loadmodule of our program. after compilation
of our program.the compiler will generate an object code to
our program. this only going to be executed..what ever u
give at
LOADLIB(DATE)..this name (for my program loadmodule name is
date) should be specified at
//step exec pgm=loadmodulename.(here date).
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is rmode(24)
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
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
What are declaratives and what are their uses in cobol?
What is the problem of ordered sequential files access?
Which division and paragraphs are mandatory for a COBOL program?
what is search and searchall?what is the diffrence between them?give an best example?
What is a SSRANGE and NOSSRANGE?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Whats the difference between search & search ALL?
what is the use of outrecord?
Which is not true about evaluate statement
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do you reference the following file formats from cobol programs?