VMS quesion DO BLOB

Johnson, Harold A EDUC:EX Harold.A.Johnson@gems1.gov.bc.ca
Thu, 18 Mar 2004 14:18:55 -0800


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_01C40D36.F6CA2718
Content-Type: text/plain;
	charset="iso-8859-1"

What about the VMS command "PIPE"?
 

-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com]On Behalf Of Hamilton, Allison
Sent: 2004 March 18 1:03 PM
To: 'Peter Bateman'; powerh-l@lists.sowder.com
Subject: RE: VMS quesion DO BLOB



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
<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
<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
<http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=ht
tp://hotmail.com/enca&HL=Market_MSNIS_Taglines>
&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNI
S_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
<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_01C40D36.F6CA2718
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: VMS quesion DO BLOB</TITLE>

<META content="MSHTML 6.00.2800.1264" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=159401822-18032004><FONT face=Arial color=#0000ff size=2>What 
about the VMS command "PIPE"?</FONT></SPAN></DIV>
<DIV><SPAN class=159401822-18032004></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  powerh-l-admin@lists.sowder.com [mailto:powerh-l-admin@lists.sowder.com]<B>On 
  Behalf Of </B>Hamilton, Allison<BR><B>Sent:</B> 2004 March 18 1:03 
  PM<BR><B>To:</B> 'Peter Bateman'; powerh-l@lists.sowder.com<BR><B>Subject:</B> 
  RE: VMS quesion DO BLOB<BR><BR></FONT></DIV>
  <P><FONT size=2>You can't do that kind of piping input on OpenVMS (no 
  &lt;)</FONT> </P>
  <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: 
  powerh-l-admin@lists.sowder.com</FONT> <BR><FONT size=2>[<A 
  href="mailto:powerh-l-admin@lists.sowder.com">mailto:powerh-l-admin@lists.sowder.com</A>]On 
  Behalf Of Peter Bateman</FONT> <BR><FONT size=2>Sent: Thursday, March 18, 2004 
  3:26 PM</FONT> <BR><FONT size=2>To: powerh-l@lists.sowder.com</FONT> <BR><FONT 
  size=2>Subject: RE: VMS quesion DO BLOB</FONT> </P><BR>
  <P><FONT size=2>Hi Harold:</FONT> </P>
  <P><FONT size=2>&nbsp;&nbsp; If you want to store a PDF file I would think you 
  would have</FONT> <BR><FONT size=2>&nbsp;&nbsp; to use an editor that can 
  handle binary data perhaps EDIT/TPU.</FONT> <BR><FONT size=2>&nbsp;&nbsp; $def 
  PH_BLOBEDIT EDIT/TPU</FONT> </P>
  <P><FONT size=2>&nbsp;&nbsp; I have converted a CR&nbsp; delimited text file 
  (CR_FILE)</FONT> <BR><FONT size=2>&nbsp;&nbsp; into a fixed length file by 
  inputting the CR_FILE</FONT> <BR><FONT size=2>&nbsp;&nbsp; into QUICK's 
  standard input.&nbsp; The CR delimited data filled a</FONT> <BR><FONT 
  size=2>&nbsp;&nbsp; multiline field in the fixed length record file. The 
  screen used the&nbsp; </FONT><BR><FONT size=2>AUTOUPDATE feature.</FONT> </P>
  <P><FONT size=2>&nbsp;&nbsp; It went something like:-</FONT> <BR><FONT 
  size=2>&nbsp;&nbsp; SCREEN XXX AUTOUPDATE</FONT> <BR><FONT size=2>&nbsp;&nbsp; 
  FILE XFIXED</FONT> <BR><FONT size=2>&nbsp;&nbsp; FIELD&nbsp; FMULTI FOR 
  9,60</FONT> <BR><FONT size=2>&nbsp;&nbsp; PROCEDURE INITIALIZE</FONT> 
  <BR><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp; PUSH ENTRY</FONT> <BR><FONT 
  size=2>&nbsp;&nbsp; BUILD</FONT> </P>
  <P><FONT size=2>&nbsp;&nbsp; $QUICK auto=XXX term=VT100 &lt; CR_FILE</FONT> 
  <BR><FONT size=2>&nbsp;&nbsp; I have not tried this is VMS but it seemed to 
  work on XP.</FONT> <BR><FONT size=2>Regards,</FONT> <BR><FONT size=2>Peter 
  Bateman</FONT> </P>
  <P><FONT size=2>&gt;From: "Johnson, Harold A EDUC:EX" 
  &lt;Harold.A.Johnson@gems1.gov.bc.ca&gt;</FONT> <BR><FONT size=2>&gt;To: 
  powerh-l@lists.sowder.com</FONT> <BR><FONT size=2>&gt;Subject: VMS 
  quesion</FONT> <BR><FONT size=2>&gt;Date: Thu, 18 Mar 2004 11:34:12 
  -0800</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT size=2>&gt;Hi All.&nbsp; 
  Using the "do blob" command in PH works great, but does anyone 
  </FONT><BR><FONT size=2>&gt;know</FONT> <BR><FONT size=2>&gt;if I can convert 
  the following VMS file structure:</FONT> <BR><FONT size=2>&gt;</FONT> 
  <BR><FONT size=2>&gt;RMS FILE ATTRIBUTES</FONT> <BR><FONT size=2>&gt;</FONT> 
  <BR><FONT size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File 
  Organization: sequential</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Record Format: 
  stream-CR</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Record 
  Attributes:&nbsp; carriage-return</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Maximum Record 
  Size: 0</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Longest Record: 
  32767</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Blocks Allocated: 
  24, Default Extend Size: 0</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End-of-File VBN: 
  23, Offset: %X'00BE'</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File Monitoring: 
  disabled</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Global Buffer 
  Count: 0</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT size=2>&gt;into</FONT> 
  <BR><FONT size=2>&gt;</FONT> <BR><FONT size=2>&gt;RMS FILE ATTRIBUTES</FONT> 
  <BR><FONT size=2>&gt;</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File Organization: 
  sequential</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Record Format: 
  fixed</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Record 
  Attributes:</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Maximum Record 
  Size: 512</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Longest Record: 
  512</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Blocks Allocated: 
  417, Default Extend Size: 0</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End-of-File VBN: 
  416, Offset: %X'0000'</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File Monitoring: 
  disabled</FONT> <BR><FONT 
  size=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Global Buffer 
  Count: 0</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT size=2>&gt;</FONT> 
  <BR><FONT size=2>&gt;I've tried several things (convert commands, set file 
  etc.) but nothing</FONT> <BR><FONT size=2>&gt;works so far.&nbsp; The original 
  file is actually a PDF.</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT 
  size=2>&gt;???</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT 
  size=2>&gt;thnx</FONT> <BR><FONT size=2>&gt;</FONT> <BR><FONT size=2>&gt;= = = 
  = = = = = = = = = = = = = = = = = = = = = = = = =</FONT> <BR><FONT 
  size=2>&gt;Mailing list: powerh-l@lists.sowder.com</FONT> <BR><FONT 
  size=2>&gt;Subscribe: "subscribe" in message body to 
  powerh-l-request@lists.sowder.com</FONT> <BR><FONT size=2>&gt;Unsubscribe: 
  "unsubscribe &lt;password&gt;" in message body to </FONT><BR><FONT 
  size=2>&gt;powerh-l-request@lists.sowder.com</FONT> <BR><FONT size=2>&gt;<A 
  href="http://lists.sowder.com/mailman/listinfo/powerh-l" 
  target=_blank>http://lists.sowder.com/mailman/listinfo/powerh-l</A></FONT> 
  <BR><FONT size=2>&gt;This list is closed, thus to post to the list you must be 
  a subscriber.</FONT> </P>
  <P><FONT 
  size=2>_________________________________________________________________</FONT> 
  <BR><FONT size=2>Add photos to your messages with MSN Premium. Get 2 months 
  FREE*&nbsp; </FONT><BR><FONT size=2><A 
  href="http://join.msn.com/?pgmarket=en-ca&amp;page=byoa/prem&amp;xAPID=1994&amp;DI=1034&amp;SU=http://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines" 
  target=_blank>http://join.msn.com/?pgmarket=en-ca&amp;page=byoa/prem&amp;xAPID=1994&amp;DI=1034&amp;SU=http://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines</A></FONT></P>
  <P><FONT size=2>= = = = = = = = = = = = = = = = = = = = = = = = = = = =</FONT> 
  <BR><FONT size=2>Mailing list: powerh-l@lists.sowder.com</FONT> <BR><FONT 
  size=2>Subscribe: "subscribe" in message body to 
  powerh-l-request@lists.sowder.com</FONT> <BR><FONT size=2>Unsubscribe: 
  "unsubscribe &lt;password&gt;" in message body to 
  powerh-l-request@lists.sowder.com</FONT> <BR><FONT size=2><A 
  href="http://lists.sowder.com/mailman/listinfo/powerh-l" 
  target=_blank>http://lists.sowder.com/mailman/listinfo/powerh-l</A></FONT> 
  <BR><FONT size=2>This list is closed, thus to post to the list you must be a 
  subscriber.</FONT> </P>
  <P><FONT size=2>This message may contain privileged and/or confidential 
  information.&nbsp; 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.&nbsp; Thank 
  you.</FONT></P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C40D36.F6CA2718--