Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us