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


Please Help Members By Posting Answers For Below Questions

What is Pic 9v99 Indicates in COBOL?

747


Have you used comp and comp-3 in your project? And how?

2016


What is a scope terminator give example?

664


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

754


What is comp-1 and comp-2?

775






Can we redefine the field of x(200) to less than 200?

842


What is static and dynamic call in cobol?

603


Write a program to enter and display the names of students in a class using the occurs clause.

666


what is search and searchall?what is the diffrence between them?give an best example?

5593


) what is the difference between AID and HANDLE AID?

1643


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

655


Which is not true about evaluate statement

1635


What are the different data types in cobol?

803


) how do u code after getting data?

1586


Why occurs cannot be used in 01 level in COBOL?

723