can we have more than one job in a single job card that is
we are specifying only one 'job' statement in the jcl.
Answers were Sorted based on User's Feedback
Answer / mvrams
The Answer is Yes. We can have multiple jobs in the same
PDS member. For example my pds member is mvrams.jcl(myjobs)
The memeber my jobs can have multiple job cards coded like
this.
MYJOB1 JOB (GNAC-TSO-T),'COPY JOB',CLASS=P,MSGCLASS=5
......................
.......................
/*
MYJOB2 JOB (GNAC-TSO-T),'COPY JOB',CLASS=P,MSGCLASS=5
.......................
.......................
Generally we dont do this in model/prod environment,
because in CA7 scheduler we can only get the notification
for one job ( in one PDS member )
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / premil
NO... v can have many steps in one JOB... but not many
JOS'S..
Is This Answer Correct ? | 16 Yes | 11 No |
Answer / reddy kanupuru
we can have more than one job in a job card .after the
first job give /* after that code another job and so on.
Is This Answer Correct ? | 7 Yes | 2 No |
Answer / bhanuprathap
Yes, we have many steps Under one Job but not many Jobs in
one step.....
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / amresh
JOB Statement is the one that identifies the job. I dnt
understand the meaning of more than one JOBs under one JOBCARD..
Is This Answer Correct ? | 0 Yes | 1 No |
if we give TIME=0 how many sec that job/step
Is it possible to left uncode disp?
What is the difference between static call & Dynamic call ?
i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0
lines(1,cancel)??What is meant by that??Plz explain it....
How can u know the current date using jcl?
Name the statement which can be used to send data to another mvs jes3 node?
What is DYNAMBR in jcl?
Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?
TIME parameter in JOB statement or EXEC statement specifies What type of time (CPU time or execution time)?
How is a type of file defined in the jcl that executes the cobol program?
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?