IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Coding in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need help on coding an Assembler Table PL/I & Assembler 9
No new posts ISPF Panel Coding TSO/ISPF 4
No new posts How do I coding assembly code for hex... PL/I & Assembler 32
No new posts Coding COND parm JCL & VSAM 6
No new posts How do I coding to file copy larger t... PL/I & Assembler 3
Search our Forums:

Back to Top