i have 6 steps in my jcl program
after going to 5th step i want to execute 3rd step.....how can
i do it....by using(RESTART) can i do it or not?
Answers were Sorted based on User's Feedback
Answer / harsha
Use DPRTY parameter. With this parameter, we can change the
order of execution of each steps but we cannot skip the
execution.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / muttaiah
What i understand from question is
After executing 4th step you want to execute 3rd step.
In JCL.
We can execute steps only sequentially meaning steps mentioned in the job has to be executed in the way they are.
So as far as my knowledge this is impossible.
one way is if the job execution is stopped after 4th step. you can then execute from any step using restart.
| Is This Answer Correct ? | 2 Yes | 1 No |
how can you check if a file is empty using jcl?
What are the parameters that are used in creating a gdg?
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.
what's the significance of freespace(0 0) and freespace(100 100)
As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ?
What 3 guidelines do we have to follow when concatenating DD statements?
i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.
Explain how can the attributes of one sms dataset be copied to another dataset?
When we give TYPERUN = SCAN , what are the syntax errors we get?