Variable length subfiles.

Chris Sharman Chris.Sharman@ccagroup.co.uk
Tue, 25 Jan 2000 08:48:15 +0000


>I need to create a pipe-delimited ascii file.  It also needs to be
>variable length.  problem is, when I output a subfile in quiz, it
>creates a fixed-length file.  If I convert the file, VMS adds extra
>spaces so the file is, essentially, still fixed-length.  I think that I
>can do it if I define the file in the dictionary, but I'd like to avoid
>this.

For variable length, you'll HAVE to use a text file, or a VAR dictionary file.
Subfiles are always fixed length.

If you convert your fixed subfile, VMS isn't adding spaces, it's just leaving
them there.

If your line length is over 255 (I'm presuming it is, since otherwise a normal
report is the obvious solution), then you'll have to use a VAR file defined in
the dictionary, or post-process the output with something other than Quiz (eg
Perl or TPU - see the TPU procedure I posted the other day).

>I'm using:
>OpenVMS V6.2-1H3
>PowerHouse 8.10.C2

How's life without all the VMSisms ? Or do you keep 7.10 around to do all the
useful stuff ? Are you using PH web ?

Regards, Chris
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk		http://www.ccastat.demon.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.