![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions The JOB, EXEC and DD statement. Latest Answer : 1) JOB - To identify the Job2) EXEC - To identify which program has to Execute3) DD - To supply the input/output files required for program execution4) PROC - To indicate the procedure5) PEND - End an inline PROC ... A keyword in a JCL statement may appear in different places and is recognized by its name, eg. MSGCLASS in the JOB statement. The opposite is positional words, where their meaning is based on their position Latest Answer : positional and keyword parameters comes to jcl statements keyword means for information ... The EXEC statement identifies the program to be executed via a PGM=program name keyword. Its format is //jobname EXEC PGM=program name. The PARM= keyword can be used to pass external values to the executing Latest Answer : EXEC statement refers to a PROGRAM or a PROCEDURE to be executed Syntax: //stepname   EXEC  PGM=pgm-name,parametersOR //stepname    EXEC   procedure-name,parametersParameters are1.Positional(pgm-name,procedure name) 2.Keyword (PARM,REGION,ACCT,COND,TIME) ... The DD statement links the external dataset name (DSN) to the DDNAME coded within the executing program. It links the file names within the program code to the file names know to the MVS operating system. Latest Answer : Its the Data Definition (DD) statement It should not exceed 8 charactersIt is normally the identifier name which we give in the cobol program to identify the that the trailing DSN is for the particular DD name for eg:COMMLY ... DISP=OLD denotes exclusive control of the dataset; DISP=SHR means there is no exclusivity. Latest Answer : DISP=OLD --> Exclusive HOLD. Read from beginning of dataset. But if u write, then it will overwrite on existing data. i.e old data is lost. DISP=MOD --> Exclusive HOLD. You can write to the end of the file without loosing your old ... DISP=MOD is used when the dataset can be extended, ie, you can add records at the end of an existing dataset. Latest Answer : mod is a key word which is used with disp parameter as DISP=MODIt is used for if the dataset already exit then add the records to dataset at end of the data set. ... What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first? The keywords associated with the DCB parameter are LRECL, RECFM, BLKSIZE and DSORG. The DCB information can be supplied in the DD statement. The sysem looks for DCB information in the program code first. COND specifies the conditions for executing the subsequent job step. The value after the COND= is compared to the return codes of the preceding steps and if the comparison is true, the step is bypassed. Latest Answer : In exec statement the condition is used for by-passing the perticular step through the condition,if COND=0 Its a successfull executionif COND=4 Its a warning if COND=8 Its a serious errorif COND=16 Its a fatal error.So that we can use this condition key ... The value after the PARM= specifies control information to be passed to the executing program of the job step. Latest Answer : It is only used for to pass the values by JCL to the perticular application program like COBOL program. ... REGION specifies the maximum CPU memory allocated for a particular job or job step. If REGION is in the JOB card, it relates to the entire job; if in the EXEC statement, it relates to the job step. Latest Answer : region is the keyword parameter used in job and exec statements annd it is for storage purpose region=2096128k default ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||