Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

can we use GOTO and PERFORM in jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
dhanunjaygupta

New User


Joined: 25 Jan 2006
Posts: 1

PostPosted: Wed Jan 25, 2006 2:53 pm    Post subject: can we use GOTO and PERFORM in jcl
Reply with quote

Hi,
i have a doubt regarding jcl
can we use GOTO and PERFORM in jcl
Back to top
View user's profile Send private message

sbalajibe

New User


Joined: 15 Aug 2005
Posts: 62

PostPosted: Wed Jan 25, 2006 3:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Wed Jan 25, 2006 3:13 pm    Post subject: Re: can we use GOTO and PERFORM in jcl
Reply with quote

Hi,

As per my understanding we can not use GOTO State ment in JCL

Regards
Rupesh
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Jan 25, 2006 7:14 pm    Post subject: Re: can we use GOTO and PERFORM in jcl
Reply with quote

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
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Wed Feb 01, 2006 8:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to perform Digest Access Authenti... vasanthz All Other Mainframe Topics 0 Tue Mar 15, 2016 4:47 pm
No new posts Problem with GOTO Vinay Pushpala PL/I & Assembler 6 Wed Mar 19, 2014 5:20 pm
No new posts Infinite loop Issue in perform Until shankarm COBOL Programming 18 Wed Jul 31, 2013 7:53 pm
No new posts Perform airthmetic operations in JCL jithumohan JCL & VSAM 4 Fri Mar 15, 2013 12:06 am
No new posts Is it mandatory to Rebind after we pe... Furor DB2 1 Fri Mar 01, 2013 2:02 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us