|
View previous topic :: View next topic
|
| Author |
Message |
s_m
New User
Joined: 21 Jan 2006 Posts: 2 Location: kolkata
|
|
|
|
| How can data be passed to a dynamically called module without using Linkage Section? |
|
| Back to top |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
| Linkage Section in the called module or the calling module? I'm thinking it will have to be in one or the other.... |
|
| Back to top |
|
 |
s_m
New User
Joined: 21 Jan 2006 Posts: 2 Location: kolkata
|
|
|
|
| William Thompson wrote: |
| Linkage Section in the called module or the calling module? I'm thinking it will have to be in one or the other.... |
linkage section in the calling module... i.e. How can data be passed to a dynamically called module without using linkage section in the calling module? |
|
| Back to top |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
| s_m wrote: |
| How can data be passed to a dynamically called module without using linkage section in the calling module? |
Forgive me if I'm confused, but isn't that the normal way? CALL sub using WS-item? No linkage required. |
|
| Back to top |
|
 |
Bitneuker
CICS Moderator

Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
| Use PL/1, there's no linkage section there. Just passing of addresses via pointers. But that's probably not what is meant. |
|
| Back to top |
|
 |
rama9
New User
Joined: 09 Feb 2007 Posts: 4 Location: India
|
|
|
|
You can use CALL using WS-AREA...by using this you can pass the data for your sub program..
Syantax: CALL <Sub-program Name) using WS-AREA |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
When you code "CALL modname USING parmlist", you need no linkage section in the calling module. You will use a linkage section in the called module. |
|
| Back to top |
|
 |
|
|