Can we have a JOBSTEP without any EXEC ?
Answers were Sorted based on User's Feedback
Answer / prachi
No... you need to have the EXEC for each JOB step.
Is This Answer Correct ? | 10 Yes | 2 No |
Answer / vinay sonar
No,the job will get abend and you will get JCL ERROR
as 'JOB HAS NO STEPS'
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / saravanan
"why? I need the explanation in this. Can any one give why
the Jos is giving the JCL error. 'JOB HAS NO STEPS'
--because u would have missed
//* --Prior to the exec steps like
EXEC <Proclib>
Or u would have missed the keyword EXEC itself. Please
check.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / srikanth
why? I need the explanation in this. Can any one give why
the Jos is giving the JCL error. 'JOB HAS NO STEPS'
Is This Answer Correct ? | 0 Yes | 1 No |
if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?
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.
Whats error code s222?
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
how do you resolve for soc7 error
Mention the types of job control statements?
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?
What is the purpose of dd dummy statement?
How do you access an uncatalogued dataset in a jcl?
What is the meaning of the EXEC statement keyword, COND? What is its syntax?
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
When we give TYPERUN = SCAN , what are the syntax errors we get?