Subject: | |
From: | |
Reply To: | |
Date: | Tue, 15 Oct 2013 22:14:07 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I'm getting to grips with COBOL on the HP3000 (I'm used to Micro Focus on Windows).
A simple MAIN program calls a SUBPROGRAM and is designed to return. I'm getting the following messages:
:mainprgx
UNRESOLVED EXTERNALS: subprog (LDRERR 512)
Failed to locate the exported code symbol(s) for the imported code symbol(s)
listed above. (LDRERR 522)
Native mode loader message 522
Unable to load program to be run. (CIERR 625)
The programs are: mainprog - source, mainprgo - object, mainprgx - executable and subprog - source, subprogo - object, subprogx - executable
In MAIN I'm CALLing "subprog":
identification division.
program-id. mainprog.
procedure division.
main-loop.
display "In MAIN program now ...."
call "subprog"
display "Back in MAIN program ..."
stop run.
In SUB I have the following:
identification division.
program-id. subprog.
procedure division.
main-loop.
display "In SUB program now ...."
exit program.
All pretty basic stuff so I must be missing some simple HP/MPE requirement.
Ideas welcome :-)
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|