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

//step#3 exec pgm = hkbc762 what is wrong with the syntax?

3 Answers  


is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name?

4 Answers   Accenture,


What is the difference between IEBGENER, IEBCOPY and REPRO in IDCAMS utility?

8 Answers   Accenture, TCS,


How to overide the symbol parameter in the jcl ?

3 Answers   UST,


How can u know the current date using jcl?

2 Answers   iNautix, Wipro,


How do You skip a Step In JCL?

9 Answers   HTC,


wht do u mean by inrec and outrec ?

1 Answers   IBM,


What is the difference between catalogue procedure and In-Stream procedure?

2 Answers  


i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?

4 Answers   IBM,


How to override loadlib?

0 Answers   Fiserv,


what is a jcl?

0 Answers   IBM,


Suppose we have 5 steps in a job.No step should be executed After submitting every step in a job

2 Answers   AVB, IBM,


Categories