HP3000-L Archives

February 1998, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Cooper <[log in to unmask]>
Reply To:
Steve Cooper <[log in to unmask]>
Date:
Thu, 26 Feb 1998 18:28:23 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
[log in to unmask] (GF) wrote:

>I have an old old RPG program which calls an external SPL routine that
>I'd like to recompile and link.  But I am having some trouble.
>
>I can create a USL from the RPG compiler by compiling it:
>
>RPG finload, finusl, $null
>
>and I can create an object file from the external SPL routine by
>compiling it (SPLASHIT is a command file...)
>
>SPLASHIT bdate,,$null,,200000,,3000 {this creates object file bdate.o}
>
>my question is, how do I take this USL and object file and create an
>executible?
>

This is not a USL, but rather an NMOBJ file.  SPLash! is a Native Mode SPL
compiler.  You want to be using the Compatibility Mode SPL compiler with a
command similar to:

SPL bdate,finusl,$null

to compile the SPL portion into the same USL.  You should then be able to PREP
it successfully into a CM executable.

Steve Cooper

ATOM RSS1 RSS2