> 1. Does hp cobol compiler know about hexa literals? For example MF
> recognize
> X"4142" ("AB") .
I believe NOT, but it does like octal. "AB" is %40502.
<free Bob Green plug>
Qedit is your tool of choice, it will give you these easily via
/="AB",%
result=%040502
/=$4142,%
result=%04052
> 2. Is it possible to create copy libraries from POSIX files
> (i.e files
> edited with vi)? I tried adding such files to a copy library with
> COBEDIT.PUB.SYS but when i used copy statement to include modules from
> this library in a source code i got tones of compiling errors
> from this
> modules even if everything was ok when i used $INCLUDE .
Again, Qedit is your tool...
:FILE COPYLIB=mylib.src
/t copybook ;comment (your posix file)
/k (copybook) ;comment the parens tell QE to deal with ksam copylibs,
which it does quite nicely.
</free Bob Green plug>
Tracy Pierce