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
 

 

Coding in JCL

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

New User


Joined: 16 Dec 2004
Posts: 44
Location: Hyderabad

PostPosted: Sat Mar 19, 2005 11:53 am    Post subject: Coding in JCL
Reply with quote

Hi Moderator,

//MYJOB JOB 'ST20' 'ANAND', MSGCLASS=A,MSGLEVEL=(1,1),
//NOTIFY=&SYSID
//STEP1 EXEC PGM=.....
//STEPLIB DD DSN=...
//IF (RC < 12) THEN
//STEP2 EXEC PGM=.....
//ELSE
//STEP3

My question is....can v code if then else (not in particular, of this kind) in JCL as it is not a language...doesn't it give compilation error?
'coz i have seen many people posting this kind of code in JCL in this forum.......

Thank You,
Brahmananda Reddy. K.
Back to top
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Mar 19, 2005 10:40 pm    Post subject:
Reply with quote

Hi Brahma,

I'm not sure I understand your ques. IF/THEN id permitted in JCL. It is interpreted for errors and msgs are issued.

HTH
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 Need help on coding an Assembler Table saranyasakthivel PL/I & Assembler 9 Thu Jan 08, 2015 7:03 pm
No new posts ISPF Panel Coding Soumick Sarkar TSO/ISPF 4 Tue Mar 25, 2014 11:36 am
No new posts How do I coding assembly code for hex... Mansik Kim PL/I & Assembler 32 Fri Dec 27, 2013 7:23 am
No new posts Coding COND parm rocky_balboa JCL & VSAM 6 Wed Aug 28, 2013 9:22 am
No new posts How do I coding to file copy larger t... enrico-sorichetti PL/I & Assembler 3 Mon Mar 18, 2013 11:09 am


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