GeekInterview.com
   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

GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 107 of 126    Print  
//MYJOB JOB(T,U202,SH1),'FRANK SMITH',CLASS=A
//STEP01 EXEC PGM=PGM01
//INFILE DD DSN=TEST.PAYROLL.DATA,DISP=SHR
//SYSOUT SYSOUT=A
//STEP02 EXEC PGM=PGM02
//INFILE DD DSN=TEST.PERSONEL.DATA,DISP=SHR
Which change to STEP02 above will specify that STEP02 CANNOT be automatically restarted by an operator if that step fails during execution?
Choice 1
//STEP02 EXEC PGM=PGM02,AR=NS
Choice 2
//STEP02 EXEC PGM=PGM02,RST=NOP
Choice 3
//STEP02 EXEC PGM=PGM02,ARST=NOP
Choice 4
//STEP02 EXEC PGM=PGM02,OP=NST
Choice 5
//STEP02 EXEC PGM=PGM02,RD=NR



  
Total Answers and Comments: 1 Last Update: November 13, 2007     Asked by: amarnath 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 13, 2007 07:26:01   #1  
rahul pandey        

RE: //MYJOB JOB(T,U202,SH1),'FRANK SMITH',CLASS=A
Hi answer for this problem is option 5

Choice 5
//STEP02 EXEC PGM=PGM02,RD=NR

RD=NR is for no  restart

 
Is this answer useful? Yes | No

 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 JOB statement is the first in a JCL stream. Its format is // jobname, keyword JOB, accounting information in brackets and keywords, MSGCLASS, MSGLEVEL, NOTIFY, CLASS, etc.  
Latest Answer : Notify is misspelled in the answer. ...

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   ...

RESTART is a JOB statement keyword. It is used to restart the job at a specified step rather than at the beginning.  
Latest Answer : Restart is a keyword which is used in mainframes to restart the perticular step in the job at not the begining ...

What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB? GDG stands for generation data group. It is a dataset with versions that can be referenced absolutely or relatively. It is defined by an IDCAMS define generation datagroup execution.

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. ...

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 ...


 Sponsored Links

 
Related Articles

Breaking up XML into Relational Data

Breaking up XML into Relational Data While the preceding example shows how to construct an XML representation over relational data the example in this section illustrates how you can shred XML data back into relational data This reverse operation can be useful if your application works with relation
 

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Retrieving XML Data

Retrieving XML DataTo retrieve XML data from an XMLType table you can use a SELECT SQL statement just as you would if you had to query a relational table For example to select the employee with the id set to 100 from the employees XMLType table discussed in the preceding section you might issue the
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving Typed Data

ODP NET Retrieving Typed Data While retrieving values from OracleDataReader we can extract information available in individual columns of a particular row either by using column ordinal position values or column names mosgoogle Retrieving Typed Data Using Ordinals ODP NET provides data specific enum
 

ODP.NET - Retrieving Data Using OracleDataReader

ODP NET Retrieving Data Using OracleDataReader OracleDataReader is simply a read only and forward only result set It works only if the database connection is open and it makes sure that the connection is open while you are retrieving data As the data that it retrieves is read only it is a bit faster
 

ODP.NET - Fundamental ODP.NET Classes to Retrieve Data

ODP NET Fundamental ODP NET Classes to Retrieve Data To retrieve data from an Oracle database using ODP NET we need to work with a few of the ODP NET classes At this point we will discuss the most fundamental classes available in ODP NET for retrieving data mosgoogle The following is the list of fun
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape