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