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


How to use COND Parameter in jcl

Answers were Sorted based on User's Feedback



How to use COND Parameter in jcl..

Answer / krishna

cond statement is used for conditional execution of a
perticular step.

cond=(return code, relational operator)

it can be coded with job statement or with exec statement.

Is This Answer Correct ?    4 Yes 0 No

How to use COND Parameter in jcl..

Answer / challa srinivas

cond statement is used for conditional execution of a
perticular step.

cond=(return code, relational operator)

it can be coded with job statement or with step statement.

If COND parameter is coded both in job and step, then COND parameter of step will override JOB.

Is This Answer Correct ?    2 Yes 0 No

How to use COND Parameter in jcl..

Answer / p.ramesh

The condition statement used in job statement and also used in exec statement.
syntex
COND(Positional parameter,Conditional parameter)
EX:
COND(0,LF)

Is This Answer Correct ?    3 Yes 3 No

How to use COND Parameter in jcl..

Answer / venkat ramana

Condition is a key word parameter. '=' is mandatory.

COND = (0, LE)

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More JCL Interview Questions

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  


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

1 Answers   IBM,


How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?

0 Answers   UHG,


Explain concatenating datasets?

2 Answers   CTS,


For how long a job can be executed continuously in a mainframe ?

4 Answers  


If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job

4 Answers   UST,


what is the cond=even only

4 Answers   EDS,


In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04

3 Answers   Patni,


How can a stopped job be started again?

0 Answers  


Can a PS file be read in reverse order?If so,how

2 Answers   Syntel,


In which table PLAN is registered in ?

3 Answers  


Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?

7 Answers   VS, Wipro,


Categories