MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multiple 01 level Parms

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
edkir98
Beginner


Joined: 27 Aug 2007
Posts: 102
Topics: 42
Location: Chennai

PostPosted: Fri Jul 18, 2008 12:04 pm    Post subject: Multiple 01 level Parms Reply with quote

Hi,

This is my Linkage section.
Code:
          ************************************************
           LINKAGE SECTION.                               
          ************************************************
                         COPY COPYVAR1.
                         COPY COPYVAR2.


There are 01 levels in both COPYVAR1 and COPYVAR2. so I am not able to put them under a common linkage area. Can I use "procedure division using" like this?

Code:
PROCEDURE DIVISION USING COPYVAR1-01-LEVEL COPYVAR2 01-LEVEL

_________________
Thanks
Back to top
View user's profile Send private message Yahoo Messenger
jsharon1248
Intermediate


Joined: 08 Aug 2007
Posts: 291
Topics: 2
Location: Chicago

PostPosted: Mon Jul 21, 2008 9:06 am    Post subject: Reply with quote

What is making you think that you can't have multiple 01 levels in the Linkage Section? You code as many as you need.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Mon Jul 21, 2008 9:45 am    Post subject: Reply with quote

make sure the USING phrase for the CALLing program lists the parms the same way as the USING phase in the CALLed program lists its parms.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group