How to use COND Parameter in jcl

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can a stopped job be started again?

636


Can I share my data with other jobs? How?

670


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

789


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

776


how you can access an uncataloged dataset in a JCL?

656






Is acct parameter mandatory?

763


what is SOC4 error?

739


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

854


Explain how can values be passed from the job stream to an executable program?

626


Explain how can an in-stream dataset be terminated?

702


What are the 4 fields in dd statement?

744


Explain the function of dd disp parameter?

595


Why block size is multiple of lrecl in jcl?

915


How can unused space allocation be returned to the system when a dataset is closed?

812


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8682