[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

COBOL, and PRN and VFC files?

» close window

The Question is:

 
When trying to convert a PRN report file using CONVERT/DOC produced by the
Cobol Report writer to a .PS file I have problems. If I do not use an
options file , the page throws are recognized in the PS files but the width
is NOT recognized while if I use P
AGE_SIZE or other settings in my options file , the page throws are not
recognized!!! I have tried various settings and I cannot get anthing to work
because as far as I can see ANY setting in the options file screws up the
page throws. The default option
is the "best" in the sense that it shows the full line (wrapped at 80
characters ) and has the right page throws. Interestingly enough , a full
line of characters (such as underlines ) is shown in full in one line. The
.PRN file produced by the COBOL repo
rt writer has a Print file carriage control record attributes and VFC ,2
BYTE HEADER,132 MAX,LONGEST 132 recordd format. Is there any way out of my
dillema???
The whole point of what I am doing is to produce .PDF file formats , is
there any way of directly doing this in VMS?
 
 


The Answer is :

    If you are using Compaq COBOL on OpenVMS Alpha, try
 
    	$ cobol/novfc
 
$ help cobol/vfc
COBOL
 
  /VFC
 
   /VFC    (D)
   /NOVFC
 
   Generates VFC record format for the following types of files:
 
       . LINAGE
       . REPORT WRITER
       . APPLY PRINT-CONTROL
       . WRITE ADVANCING
       . ORGANIZATION SEQUENTIAL with GLOBAL
       . ORGANIZATION SEQUENTIAL with EXTERNAL
 
   If you specify /NOVFC, these output files are generated with Stream_LF
   record format.

answer written or last revised on ( 14-DEC-1999 )

» close window