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
 

 

comparison in COND parameter

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

New User


Joined: 17 Jan 2007
Posts: 6
Location: Pune

PostPosted: Thu Jan 25, 2007 1:09 pm    Post subject: comparison in COND parameter
Reply with quote

Hi,

Can anyone tell me in COND parameter the return code is compared with the comparison code or vice versa?
Plz mention the situation when return code is compared with condition code & vice versa.
Back to top
View user's profile Send private message

prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Thu Jan 25, 2007 1:44 pm    Post subject:
Reply with quote

Hey Vijay,

The best way to explain cond code is to take a look at the procedure IGYWCL i.e.. the procedure that is used for compile and link edit your cobol pgm's.. if u look into the procedure it would contain two steps

Code:
//cobol exec pgm=igycrctl
//dd
//dd
//lked exec pgm=iewl,cond=(4,lt,cobol)

no take a look at the cond stmt. which is coded in the lked step name

Code:
COND=(4,LT,COBOL)


If your cobol step ends with a RC of 8(Say u have made some mistake in the syntax of COBOL pgm).

now RC.COBOl=8 so

the check takes places like this

IS 4(Hard coded) Less Than 8(RC.COBOL)

the answer is YES 4 is less than 8 so the cond is satisfied , which will make the lked step to flush , only compile step would be run and the link edit step would skipped. If u refer cond parameter coded in IGYWCL proc. i am sure that u can master COND statement and play with it

I hope u got the concept clear icon_biggrin.gif

Cheer's,

Thamilzan.
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 DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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