Suppose there r 10 steps . Out fo which i want to execute
10th, 9th and 8th in reverse order without using IEBEDIT.
How can i do that..???
Answers were Sorted based on User's Feedback
Answer / om prakash yadav
MR. Nagesh answer is coorect.
DPRTY PARAMETER:=
This parameter is used to change to assign
a dispatching priority to the job step.. Dispatching
priority is used by the statement to determine the order
inwhich tasks are to be executed.
DPRTY assign a priority to a JOB step.
syntex- DPRTY=(values1, value2).
values1 between 0-15 and specifies the priority of the
step.. value2- is also between 0-15.
DPRTY is computed as DPRTY=(value1*16)+value2.
| Is This Answer Correct ? | 8 Yes | 3 No |
Answer / nagesh
How about using Dprty parameter, this parameter will
assign priority to job steps , however I am not as to where
we need to code it (At job level or step level ), i guess
it should be used at step level ,,,,
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / om prakash yadav
i don't know exaclty but it is possible trough PRTY
parameter.
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / sreerag p n
if you have 10 steps from that if you want to execte 10th
9th and 8th then first you specitfy cond parameter if you
specify a false cond in these 3 steps then that job will
execute(1 to 7 specify true cond) these 3 steps and after
specifying cond you give dprty.give first priority to 10th
and then 9th and 8th.
Sreerag.P.N
| Is This Answer Correct ? | 1 Yes | 4 No |
using cursor how can you fetch more than one record into a variable
i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?
There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?
What is DISP= (NEW,PASS,DELETE)?
How can the submitting users racf authority be overridden in a job stream?
How to submit a jcl from cics?
If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.
What all are the changes to be made in JCL so as to do testing?
How jcl work to handle various input output file operations?
Can we use empty VSAM as input?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
One dataset is creating in the step1 with LRECL of 133 and the same dataset is used in the next step in DISP=SHR mode, but while scanning the JCL the following error is thrwon. Please verify the below JCL $/SEPP030.PROVIDER DD DSN=Z1225BT.F5750PG9.F5910PRV.QC#A6868 //ERRORRPT DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, --ERRORRPT DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=&DISNCD,UNIT=&DELQ, -- DISP= (NEW,CATLG,DELETE),UNIT=DELQ, // SPACE=(TRK, (30,15),RLSE), // DCB=&DCB2 -- DCB= (PPG.METMODEL,BLKSIZE=0,LRECL=133,RECFM=FB) $/SEPP030.ERRORRPT DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT //SEPP040 EXEC PGM=FILEAID,COND= (0002,EQ,SEPP030) //SYSPRINT DD SYSOUT=* //SYSLIST DD SYSOUT=* //DD01 DD DSN=SYSCMN.PROD.CCLIB (F5910EP1),DISP=SHR $/SEPP040.DD01 DD DSN=Z1225BT.TEST.CCLIB (F5910EP1) E1 - DSS20791E - DATA SET 'Z1225BT.F5910EPP.ERRORRPT.AOUTPUT' HAS AN LRECL OF 133 COULD NOT BE OPENED BECAUSE THE CODED LRECL WAS 80. // DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, -- DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=SHR $/ DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT please find the error code in the above mentioned lines and please suggest me about the error and the solution for that.