VMS quesion DO BLOB
Hamilton, Allison
Allison.Hamilton@Cognos.COM
Thu, 18 Mar 2004 16:02:55 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C40D2C.554F99FE
Content-Type: text/plain
You can't do that kind of piping input on OpenVMS (no <)
-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com]On Behalf Of Peter Bateman
Sent: Thursday, March 18, 2004 3:26 PM
To: powerh-l@lists.sowder.com
Subject: RE: VMS quesion DO BLOB
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=htt
p://hotmail.com/enca&HL=Market_MSNIS_Taglines
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. Thank you.
------_=_NextPart_001_01C40D2C.554F99FE
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2657.73">
<TITLE>RE: VMS quesion DO BLOB</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>You can't do that kind of piping input on OpenVMS (no =
<)</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: powerh-l-admin@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>[<A =
HREF=3D"mailto:powerh-l-admin@lists.sowder.com">mailto:powerh-l-admin@li=
sts.sowder.com</A>]On Behalf Of Peter Bateman</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, March 18, 2004 3:26 PM</FONT>
<BR><FONT SIZE=3D2>To: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>Subject: RE: VMS quesion DO BLOB</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hi Harold:</FONT>
</P>
<P><FONT SIZE=3D2> If you want to store a PDF file I would =
think you would have</FONT>
<BR><FONT SIZE=3D2> to use an editor that can handle binary =
data perhaps EDIT/TPU.</FONT>
<BR><FONT SIZE=3D2> $def PH_BLOBEDIT EDIT/TPU</FONT>
</P>
<P><FONT SIZE=3D2> I have converted a CR delimited =
text file (CR_FILE)</FONT>
<BR><FONT SIZE=3D2> into a fixed length file by inputting =
the CR_FILE</FONT>
<BR><FONT SIZE=3D2> into QUICK's standard input. The =
CR delimited data filled a</FONT>
<BR><FONT SIZE=3D2> multiline field in the fixed length =
record file. The screen used the </FONT>
<BR><FONT SIZE=3D2>AUTOUPDATE feature.</FONT>
</P>
<P><FONT SIZE=3D2> It went something like:-</FONT>
<BR><FONT SIZE=3D2> SCREEN XXX AUTOUPDATE</FONT>
<BR><FONT SIZE=3D2> FILE XFIXED</FONT>
<BR><FONT SIZE=3D2> FIELD FMULTI FOR 9,60</FONT>
<BR><FONT SIZE=3D2> PROCEDURE INITIALIZE</FONT>
<BR><FONT SIZE=3D2> PUSH ENTRY</FONT>
<BR><FONT SIZE=3D2> BUILD</FONT>
</P>
<P><FONT SIZE=3D2> $QUICK auto=3DXXX term=3DVT100 < =
CR_FILE</FONT>
<BR><FONT SIZE=3D2> I have not tried this is VMS but it =
seemed to work on XP.</FONT>
<BR><FONT SIZE=3D2>Regards,</FONT>
<BR><FONT SIZE=3D2>Peter Bateman</FONT>
</P>
<P><FONT SIZE=3D2>>From: "Johnson, Harold A EDUC:EX" =
<Harold.A.Johnson@gems1.gov.bc.ca></FONT>
<BR><FONT SIZE=3D2>>To: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>>Subject: VMS quesion</FONT>
<BR><FONT SIZE=3D2>>Date: Thu, 18 Mar 2004 11:34:12 -0800</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>>Hi All. Using the "do blob" =
command in PH works great, but does anyone </FONT>
<BR><FONT SIZE=3D2>>know</FONT>
<BR><FONT SIZE=3D2>>if I can convert the following VMS file =
structure:</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>>RMS FILE ATTRIBUTES</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> =
File Organization: sequential</FONT>
<BR><FONT SIZE=3D2>> =
Record Format: stream-CR</FONT>
<BR><FONT SIZE=3D2>> =
Record Attributes: carriage-return</FONT>
<BR><FONT SIZE=3D2>> =
Maximum Record Size: 0</FONT>
<BR><FONT SIZE=3D2>> =
Longest Record: 32767</FONT>
<BR><FONT SIZE=3D2>> =
Blocks Allocated: 24, Default Extend Size: 0</FONT>
<BR><FONT SIZE=3D2>> =
End-of-File VBN: 23, Offset: %X'00BE'</FONT>
<BR><FONT SIZE=3D2>> =
File Monitoring: disabled</FONT>
<BR><FONT SIZE=3D2>> =
Global Buffer Count: 0</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>>into</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>>RMS FILE ATTRIBUTES</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> =
File Organization: sequential</FONT>
<BR><FONT SIZE=3D2>> =
Record Format: fixed</FONT>
<BR><FONT SIZE=3D2>> =
Record Attributes:</FONT>
<BR><FONT SIZE=3D2>> =
Maximum Record Size: 512</FONT>
<BR><FONT SIZE=3D2>> =
Longest Record: 512</FONT>
<BR><FONT SIZE=3D2>> =
Blocks Allocated: 417, Default Extend Size: 0</FONT>
<BR><FONT SIZE=3D2>> =
End-of-File VBN: 416, Offset: %X'0000'</FONT>
<BR><FONT SIZE=3D2>> =
File Monitoring: disabled</FONT>
<BR><FONT SIZE=3D2>> =
Global Buffer Count: 0</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>>I've tried several things (convert commands, set =
file etc.) but nothing</FONT>
<BR><FONT SIZE=3D2>>works so far. The original file is =
actually a PDF.</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>>???</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>>thnx</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>>=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D</FONT>
<BR><FONT SIZE=3D2>>Mailing list: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>>Subscribe: "subscribe" in message body =
to powerh-l-request@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>>Unsubscribe: "unsubscribe =
<password>" in message body to </FONT>
<BR><FONT SIZE=3D2>>powerh-l-request@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>><A =
HREF=3D"http://lists.sowder.com/mailman/listinfo/powerh-l" =
TARGET=3D"_blank">http://lists.sowder.com/mailman/listinfo/powerh-l</A><=
/FONT>
<BR><FONT SIZE=3D2>>This list is closed, thus to post to the list =
you must be a subscriber.</FONT>
</P>
<P><FONT =
SIZE=3D2>_______________________________________________________________=
__</FONT>
<BR><FONT SIZE=3D2>Add photos to your messages with MSN Premium. Get 2 =
months FREE* </FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1=
994&DI=3D1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines" =
TARGET=3D"_blank">http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem=
&xAPID=3D1994&DI=3D1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_T=
aglines</A></FONT></P>
<P><FONT SIZE=3D2>=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D</FONT>
<BR><FONT SIZE=3D2>Mailing list: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>Subscribe: "subscribe" in message body to =
powerh-l-request@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>Unsubscribe: "unsubscribe =
<password>" in message body to =
powerh-l-request@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.sowder.com/mailman/listinfo/powerh-l" =
TARGET=3D"_blank">http://lists.sowder.com/mailman/listinfo/powerh-l</A><=
/FONT>
<BR><FONT SIZE=3D2>This list is closed, thus to post to the list you =
must be a subscriber.</FONT>
</P>
<P><FONT SIZE=3D2>This message may contain privileged and/or =
confidential information. If you have received this e-mail in =
error or are not the intended recipient, you may not use, copy, =
disseminate or distribute it; do not open any attachments, delete it =
immediately from your system and notify the sender promptly by e-mail =
that you have done so. Thank you.</FONT></P>
</BODY>
</HTML>
------_=_NextPart_001_01C40D2C.554F99FE--