HP3000-L Archives

June 1997, Week 1

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:
Mark Landin <[log in to unmask]>
Reply To:
Mark Landin <[log in to unmask]>
Date:
Fri, 6 Jun 1997 16:26:08 GMT
Content-Type:
Text/Plain
Parts/Attachments:
Text/Plain (22 lines)
In article <[log in to unmask]>, [log in to unmask] says...
>
>     I am trying to find a way to programmatically extract the version
>     number stored in an XL file.
>
>     Our XL's are made of COBOL subroutines.  One of these subroutines has
>     a $VERSION compiler option.  If we run VERSION.PUB.SYS on the XL file
>     the version information is displayed.  I just can't figure out how to
>     get at it programmatically.
>

Use the COMMAND intrinsic to run VERSION with it's output redirected to a file.
Then open the file and read the contents.

Just a shot in the dark.....

--
Mark Landin
T. D. Williamson, Inc.
UNIX Sys. Admin
"If you take the smooth, you gotta take the rough" -- Rob Halford

ATOM RSS1 RSS2