GeekInterview.com
Series: Subject: Topic:

JCL Interview Questions

Showing Questions 1 - 20 of 146 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Can we create pds member by using isPF 3.2 potion?

Asked By: ujwala | Asked On: Oct 18th, 2007

Answered by: abhinav aggarwal on: May 8th, 2012

Can anyone tell me how to create first member in a PDS dataset????

Answered by: Siva5546 on: Jan 26th, 2012

No, We cant create PDS member by using 3.2 option...

by using this option we create only PDS i.e directory blocks....

We use 3.4 option we create pds members in ISPF panel........

Jes

Asked By: medamahendra | Asked On: Jun 19th, 2008

What is jes?Explain in detail about jes?What is the difference between jes2 and jes3?

Answered by: monika samal on: May 1st, 2012

JES2 processing is considered to be independently controlled.
JES3 processing is considered to be centrally controlled..

Answered by: Hams on: Sep 21st, 2011

JES2 allocates dataset required by the step just before
the step executes.

JES3 allocates datasets for all the step before scheduling the job.

What is the difference between class and msgclass parameters in jcl?

Asked By: parveen.rana | Asked On: Apr 20th, 2012

Answered by: gandikotasiva on: Apr 27th, 2012

CLASS parameter specifies weather it is a long or short running job,,, it has a range of A-Z, 0-9 A-------1MIN B-------5MIN .. MSGCLASS specifies the output device to which the messages are sent it ca...

There are 100 steps in a job card.If we want to execute 100th step,what to do? And but remaining 99 steps should not execute

Asked By: sireesha | Asked On: Feb 28th, 2006

Answered by: Sujith on: Mar 22nd, 2012

If u dont want 99 steps and want only step100 (and remaining if its not last step) to execute give in job card of JCL as RESTART.PROCNAME=STEP100. This will automatically skip 99 steps and start the PROC from 100th step

Answered by: Rudrax on: Mar 9th, 2012

One simple way to execute the 100th step only is to use the utility IEBEDIT.Syntax is as follows: .......

Code
  1. //SYSIN DD *
  2.   EDIT START=<user id>,TYPE=INCLUDE,STEPNAME=(STEP=100)
  3. //

What does iefbr14 utility is used for?

Asked By: pradeepbhatt | Asked On: May 29th, 2006

Answered by: KRISHNA on: Mar 9th, 2012

It is used for creating as well as deleting the datasets, it should be the first step in the jcl to delete the duplicate datasets which were created by the last job run and which was failed due to some abend..

Answered by: siva on: Sep 14th, 2011

It is used for creating new dataset with JCL.

PS and pds

Asked By: Suneel Reddy | Asked On: Oct 24th, 2007

What is the difference between PS and pds ? If a PS file is almost equal to member of a pds. Then what is the neccerasy to use a PS file.?

Answered by: srikanth.doki on: Feb 18th, 2012

The main difference between PS and PDS is were we can store data in a single file in PS and where as in PDS we can store data in multiple files which we also called as members. Yes PS file is almost e...

Answered by: rasheeed17 on: Jan 19th, 2012

PS: PS is also called as FLAT file ,/ Sequential file, it is something similar to our notepad file in our windows environment PS is used to store data , that is almost all the input/output file are P...

How to execute a four steps in a reverse order ?

Asked By: satish | Asked On: Oct 20th, 2007

Answered by: funfull9 on: Jan 25th, 2012

By using eibedit utility we can do it.

Answered by: Phani Nagendra on: Aug 19th, 2011

You can do it with IEBEDIT utility only. I would believe that DPRTY in the STEP will not serve this purpose. DPRTY coded on the step level is just ignored. DPRTY is a very old JCL keyword that wa...

Changes in cobol-db2 to run jcl

Asked By: vardhan.frd | Asked On: Dec 22nd, 2011

What are the changes to be done in jcl for cobol-db2 program to execute?

Answered by: rasheeed17 on: Jan 19th, 2012

To run an DB2 program,. 1) in Job card changes (to specify which db2 environment to be connected) --> Add SCHENV=DB2 keyword, DB21-> db2 env , your db2 admin/ PM will provide this {geshibot langu...

Answered by: davindersingh29 on: Jan 17th, 2012

You have to write a JCL to run a cobol-db2 program. Can you please give your JCL if you need any changes.

Jcl parm parameter

Asked By: rpg0247 | Asked On: Jun 29th, 2011

I am passing data from jcl using parm to cobol-db2 program, where can u retrieve the passing data in cobol-db2 program and where it stored?

Answered by: rasheeed17 on: Jan 19th, 2012

Whether it simple Cobol program or an COBOL-DB2 program. passing PARM value & reading it with in program is same for both. - We have to define an variable for PARM in linkage section - LINKAGE SECTI...

Answered by: anjibmk on: Jul 20th, 2011

Linkage variable. to load parm values, COBOL procedure division defined with USING LINK-VARIABLE

Jcl and jes

Asked By: Hamsa | Asked On: Sep 21st, 2011

1.What is the difference between jcl and jes.? 2.What is the difference between vsam and db2?

Answered by: rasheeed17 on: Jan 19th, 2012

JCL: JCL is a language, We write JOBs in JCL laguage that is understood by Mainframe and job is executed, space allocations & other resource allocation is done according to the keywords specified by ...

Answered by: mohammadanis.jamadar on: Oct 4th, 2011

JCL: is Job control Language.Through jcl we can decide what job has to be run what programs needs to be run.
JES: Job entry System : This will take care of the execution of the job . when a job is submitted it will allocate space for execution and will help in execution

How to create a PS file with validity of 3 days using jcl ?

Asked By: sp | Asked On: Aug 24th, 2011

Answered by: Madhavi Chava on: Jan 12th, 2012

using LABEL parameter RETPD(retention period)/EXPDT(expire date)

LABEL=EXPDT=12120(dataset expire on 120th day of 2012)
LABEL=RETPD=200(dataset is retained for 200 days)

Answered by: DEEPIKA on: Sep 6th, 2011

FOR(3)

Difference between sysout and sysprint

Asked By: abhishek_98840 | Asked On: Jan 2nd, 2008

Answered by: siva on: Dec 2nd, 2011

SYSPRINT: Default output dataset for Printable output.

SYSOUT: Default output dataset for System messages.



thanks,
Sivakumar

Answered by: Shivanadri Naveen Kumar on: Sep 17th, 2011

SYSOUT and SYSPRINT are pre-defined copybooks which are developed in COBOL, SYSOUT is used to mention the location where we need to print the message If mention SYSOUT=* then message message passed t...

What is positional parameter and keyword parameter and what is the difference between them?

Asked By: saranya | Asked On: Oct 31st, 2007

Answered by: Gautam kumar on: Nov 10th, 2011

Positional Parameters are:- a).Sequence predetermined b) Parameters separated by commas c) Omitted parameters must be indicated by two consecutive commas. d) Installation dependent EX: //JOBNAME J...

Answered by: anandavel on: Oct 29th, 2011

positional parameters are mentioned by their positions and they came before keyword parameters... positional parameters have only locations.. keyword parameters have keyword , equal sign(=) and information..

Creating model for gdg

Asked By: mannurusrinivasulareddy | Asked On: Nov 1st, 2011

Is it necessary to create a model for gdg using iefbr14 utility after creating gdg, if yes why it is created.

Answered by: Venkata SivaReddy. SR on: Nov 8th, 2011

"cobol //********************************************************************* //* CREATE GDG BASE //********************************************************************* //* //GDG...

What is sysda?

Asked By: kumar | Asked On: Oct 26th, 2006

Answered by: krishna on: Oct 11th, 2011

UNIT=SYSDA refers to the next available disk storage device.

Answered by: mohammadanis.jamadar on: Oct 4th, 2011

SYSDA= SYSTEM DIRECT ACCESS

How to create a pds file using jcl

Asked By: Gowrikalepalli | Asked On: Jul 14th, 2008

Answered by: mohammadanis.jamadar on: Oct 4th, 2011

In the SPACE=(type of space,(PRIMARY SPACE, SECONDARY SPACE, DIRECTORY BLOCKS))

Can be codded like this SPACE =(TRKS,(20,20,12))

Answered by: venkat65318 on: Oct 4th, 2009

using IEFBR14 we can create pds with jcl.//TZZZ84R JOB NOTIFY=&SYSUID,MSGCLASS=X //STEP01 EXEC PGM=IEFBR14 //DD1 DD DSN=TKOL084.DEMO,DI...

What is the difference between sysprint and sysout (in jcl)?

Asked By: chetan | Asked On: Sep 6th, 2007

Answered by: Hamsa on: Sep 25th, 2011

SYSPRINT-to print the utility messages in spool

SYSOUT-identifies the system output datasets,which are in
printed or punched format.

Answered by: Shakuntala Dey on: Sep 25th, 2011

SYSPRINT - when there is message from the utility.Say in ur jcl u have used sort.so all the sort related information will be available in SYSPRINT.

SYSOUT - Its to display the messages which is available in our coding. say display statements of cobol will be displayed in sysout

Pass parameter from jcl to cobol

Asked By: ravtej556 | Asked On: Jun 27th, 2010

How will you pass a parameter from jcl to cobol without using param and sysin?

Answered by: Shakuntala Dey on: Sep 25th, 2011

either through parm parameter or sysin dd*

Answered by: davindersingh29 on: Dec 17th, 2010

I think there is also a register item called return code which can be accessed from both JCL and cobol, so we can some values through this variable as well.


Correct me if wrong.

How to use conditional statement in jcl?

Asked By: nidhin | Asked On: Sep 14th, 2011

How to use conditional statement in job as well as exec statement.With example?

Answered by: Hamsa on: Sep 25th, 2011

By COND operator and IF THEN ELSE , condition can be specified in JCL

Answered by: Hema on: Sep 19th, 2011

When we use conditional statements if the condition
specified is true then step bypassed, and if you use if and else statements then condition specified is true then step is
executed.

First | Prev | | Next | Last Page

 

 

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us:
 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, click "Subscribe".