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
 

 

Problem with Procedure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Problem with Procedure
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    Post subject:
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    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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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