Re: MF NE 3.1 Call fails to pass linkage
- From: "Paul H" <NoSpamphobergNoSpam@xxxxxxx>
- Date: Sun, 28 Sep 2008 15:17:56 -0500
===========================
More info - I wrote 2 very small test programs:
---------------------------
calling program "call1.cbl":
data division.
working-storage section.
01 link-area.
03 link-company pic 9(3).
03 link-lease-no pic 9(10).
01 resp pic x value " ".
procedure division.
display "starting call1".
move zeros to link-area.
call "call2" using link-area.
display link-area.
display "press enter".
accept resp.
stop run.
---------------------------
called program "call2.cbl":
data division.
working-storage section.
01 resp pic x value " ".
linkage section.
01 link-area.
03 link-company pic 9(3).
03 link-lease-no pic 9(10).
procedure division.
display "starting call2".
display link-area.
move all "123" to link-area.
display link-area.
display "press enter".
accept resp.
exit program.
=======================
"Paul H" <NoSpamphobergNoSpam@xxxxxxx> wrote in message
news:48dfddc9$0$5483$bbae4d71@xxxxxxxxxxxxxxxxxxxxxx
I have one program calling another - "call using link-area." - using a
simple linkage:
01 link-area.
03 link-company pic 9(3).
03 link-lease-no pic 9(10).
In the called program, the same structure exists in the linkage section.
When animating, stepping thru the call, the 1st reference to link-company in
the called program gives the error "203 CALL parameter not supplied". I
cannot find error 203 anywhere, but the call should be working correctly. I
have current patches to my 3.1. Any ideas what's happening? TIA, Paul
.
- Follow-Ups:
- Re: MF NE 3.1 Call fails to pass linkage
- From: Rick Smith
- Re: MF NE 3.1 Call fails to pass linkage
- From: Robert Jones
- Re: MF NE 3.1 Call fails to pass linkage
- References:
- MF NE 3.1 Call fails to pass linkage
- From: Paul H
- MF NE 3.1 Call fails to pass linkage
- Prev by Date: MF NE 3.1 Call fails to pass linkage
- Next by Date: Re: MF NE 3.1 Call fails to pass linkage
- Previous by thread: MF NE 3.1 Call fails to pass linkage
- Next by thread: Re: MF NE 3.1 Call fails to pass linkage
- Index(es):