View previous topic :: View next topic |
Author |
Message |
edkir98 Beginner

Joined: 27 Aug 2007 Posts: 102 Topics: 42 Location: Chennai
|
Posted: Fri Jul 18, 2008 12:04 pm Post subject: Multiple 01 level Parms |
|
|
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 |
|
 |
jsharon1248 Intermediate
Joined: 08 Aug 2007 Posts: 291 Topics: 2 Location: Chicago
|
Posted: Mon Jul 21, 2008 9:06 am Post subject: |
|
|
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 |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Mon Jul 21, 2008 9:45 am Post subject: |
|
|
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 |
|
 |
|
|