hi,i have joined in mainframe course recently. ihave a doubt
ragarding restart parameter.what is d use of it. and what is
d syntax for it. any one give me d answer pls.
Answers were Sorted based on User's Feedback
Answer / reddyp
Restart papameter is used to restat a step from the
abendining step.
assume that jcl has 5 steps.You have submitted the job.And
the job was abended at step4.so , u need to execute the
step from step4.here note that 3 steps are executed
successfully.Here u can code RESTART=step4 on the job card
and submit the jcl.Now the job will skip the first 3 steps
and starts executing from the step #4.
Hope this helps
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / neethu
yes, also i would like to share one more point,if we did
not give restart it will restart from step1 itself. incase
if it is abbends in step1 itself we dnt need to give
restart coz as default it will always restart from step1.
Is This Answer Correct ? | 3 Yes | 1 No |
what is A-MODE and R-MODE?
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.
How to pass data to a program that is coded in an exec statement?
How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.
My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?
Does jcl support automatic restart?
We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
How to do automated restart when a job abend?
what is the resolution for sb37 error
what is DSN parameter and DISP parameter is used for?
In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?
14 Answers Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,