View previous topic :: View next topic
|
Author |
Message |
dhanunjaygupta
New User
Joined: 25 Jan 2006 Posts: 1
|
|
|
|
Hi,
i have a doubt regarding jcl
can we use GOTO and PERFORM in jcl |
|
Back to top |
|
|
sbalajibe
New User
Joined: 15 Aug 2005 Posts: 62
|
|
|
|
Hi dhanunjaygupta,
In JCL i have not seen GOTO
but u have perform
eg :
//STEPA EXEC PGM=ABC,PERFORM=60
this step is performed 60 times
thanks
Balaji |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi,
As per my understanding we can not use GOTO State ment in JCL
Regards
Rupesh |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
dhanunjaygupta, there are only a few major components, and a few more minor components within JCL. Remember these and it will make your life simpler.
Major Components
- JOB Statement.
- EXEC Statement.
- DD Statements (if needed).
- IF/THEN/ELSE/ENDIF Statements (if used).
- OUTPUT Statement (if used).
Minor Components that are rarely seen
- COMMAND Statement.
- CNTL/ENDCNTL Statements.
- INCLUDE Statement.
- JCLLIB Statement.
- PROC/PEND Statements.
- SET Statement.
- XMIT Statement.
- JES2 Control Statements.
- JES3 Control Statements.
sbalajibe, PERFORM is an obsolete parameter of the JOB statement. |
|
Back to top |
|
|
pa1chandak Currently Banned New User
Joined: 31 Jan 2006 Posts: 55
|
|
|
|
WE CAN USE
IF ELSE THEN ENDIF
IN JCLS.
THERE IS NO GOTO AND PERFORM .
WHILE USING THE IF ELSE YOU NEED TO TAKE CARE THAT IT IS NOT STARTING FROM 3RD COLOUMN.
IF I AM WRONG SOMEWHERE PLEASE CORRECT ME
THANK YOU
DO SEND ME THE REPLY
PAWAN
09822546416
// THE ONE I LOVE , I SHALL NEVER BLAME // |
|
Back to top |
|
|
|