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

Problem with Procedure


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
varun_sharma

New User


Joined: 08 Jun 2005
Posts: 19
Location: new delhi

PostPosted: Sat Jul 30, 2005 12:42 pm
Reply with quote

hi

* I'm calling a proc with 4 steps in exec jcl, what should i do to bypass the 3rd step in proc i.e. i dont want to execute the 3rd step.

* i have a record group with 2 variables i..e
01 ws-rec.
05 a pic s9(4)v99 comp.
05 b pic s9(4)v99 comp-3.

what will happen if i initialise this record group, whether a, b will have zeroes or it will take some other value.

Thanks in advance.
Varun Sharma
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Jul 30, 2005 8:20 pm
Reply with quote

Ans 1:
// exec proc=proc1, cond.step3=(0,le)

Ans 2:
INIT will put binary zeros in a (X'0000..') and
packed zeros (X'0000000C') in b.

P.S. I don't think you can define non-integers in COMP. I'll have to check that out.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts Excuting store procedure via JCL batch JCL & VSAM 1
No new posts Executing DB2 SQL store procedure via... DB2 1
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
Search our Forums:


Back to Top