VMS quesion DO BLOB
Peter Bateman
shediac92@hotmail.com
Thu, 18 Mar 2004 16:26:12 -0400
Hi Harold:
If you want to store a PDF file I would think you would have
to use an editor that can handle binary data perhaps EDIT/TPU.
$def PH_BLOBEDIT EDIT/TPU
I have converted a CR delimited text file (CR_FILE)
into a fixed length file by inputting the CR_FILE
into QUICK's standard input. The CR delimited data filled a
multiline field in the fixed length record file. The screen used the
AUTOUPDATE feature.
It went something like:-
SCREEN XXX AUTOUPDATE
FILE XFIXED
FIELD FMULTI FOR 9,60
PROCEDURE INITIALIZE
PUSH ENTRY
BUILD
$QUICK auto=XXX term=VT100 < CR_FILE
I have not tried this is VMS but it seemed to work on XP.
Regards,
Peter Bateman
>From: "Johnson, Harold A EDUC:EX" <Harold.A.Johnson@gems1.gov.bc.ca>
>To: powerh-l@lists.sowder.com
>Subject: VMS quesion
>Date: Thu, 18 Mar 2004 11:34:12 -0800
>
>Hi All. Using the "do blob" command in PH works great, but does anyone
>know
>if I can convert the following VMS file structure:
>
>RMS FILE ATTRIBUTES
>
> File Organization: sequential
> Record Format: stream-CR
> Record Attributes: carriage-return
> Maximum Record Size: 0
> Longest Record: 32767
> Blocks Allocated: 24, Default Extend Size: 0
> End-of-File VBN: 23, Offset: %X'00BE'
> File Monitoring: disabled
> Global Buffer Count: 0
>
>into
>
>RMS FILE ATTRIBUTES
>
> File Organization: sequential
> Record Format: fixed
> Record Attributes:
> Maximum Record Size: 512
> Longest Record: 512
> Blocks Allocated: 417, Default Extend Size: 0
> End-of-File VBN: 416, Offset: %X'0000'
> File Monitoring: disabled
> Global Buffer Count: 0
>
>
>I've tried several things (convert commands, set file etc.) but nothing
>works so far. The original file is actually a PDF.
>
>???
>
>thnx
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l@lists.sowder.com
>Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to
>powerh-l-request@lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
_________________________________________________________________
Add photos to your messages with MSN Premium. Get 2 months FREE*
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines