Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


describe the exec statement,its meaning ,syntax and
keywords?

Answers were Sorted based on User's Feedback



describe the exec statement,its meaning ,syntax and keywords? ..

Answer / krithiga hari

EXEC statement executes a program.

Syntax:

//stepname EXEC PGM=program name, keyword parameters

The various keyword parameters are

ACCT - accouning information for the job step
PARM - for supplying information to the associated cobol program
ADDRSPC - this indicates the system that the job step uses
virtual or real storage
DPRTY - dispatching priority
PERFORM - performance group for the job step
RD - automatic restart
COND - condition
REGION - default amount of workspace
TIME - time for the job to execute

Is This Answer Correct ?    3 Yes 0 No

describe the exec statement,its meaning ,syntax and keywords? ..

Answer / vish

Just an addition to the Hari's answer, EXEC is used to call
a PROC to, apart from calling a PROGRAM.

//step01 EXEC PGM=XYZ

//step02 EXEC XYZ

in first example (step01) it's calling a program XYZ
In second example (step02) it's calling a PROC XYZ

Do let me know if anyone have some other thoughts, enjoy!

Is This Answer Correct ?    2 Yes 1 No

describe the exec statement,its meaning ,syntax and keywords? ..

Answer / kalaimani

it is the first executable statement. exec statment
overrides the job.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

how to see the latest generation in gdg?

3 Answers   Deloitte,


What is a MODEL Paramater in GDG ?

2 Answers   Xansa,


How can we increment subscript and index?

1 Answers   CTS, IBM,


Which dd parameters are required?

0 Answers  


can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch

1 Answers   IBM,


Explain about LMGET�read a logical record from a data set

1 Answers  


Is it possible to left uncode disp? If yes, how?

0 Answers  


Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


what is a MODELDSCB?

1 Answers  


What is the purpose of dd * statement in jcl?

0 Answers  


Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?

1 Answers   Thomson,


What are the parameter in the job card wihtout which job won't run........

10 Answers   IBM,


Categories