READCARD, EXECIO, PIPE READER are basically all the same: they read 80-byte
cards from the reader.

When punching files in the spool, you can only punch 80 byte cards.  If your
file is wider, it doesn't work (try with the PUNCH command for example).
Therefore, wider files are not simply PUNCHed, but broken up in pieces of 80
bytes.  At the other side you need something that understands how to fit the
pieces back together.
 PUNCH -> READCARD
 DISK DUMP -> DISK LOAD
 NETDATA SEND -> NETDATA RECEIVE
 SENDFILE -> RECEIVE (or PEEK) or PIPE NETDATA
But, SENDFILE , RECEIVE and PEEK are execs.  RECEIVE (and PEEK) the use the
RDR command to test the type of file in the reader, and will call the
appropriate command to recreate a good-looking file.

Using a plain READCARD (or PIPE READER FILE) command to look at the raw
spool data is good learning practice.

2007/4/11, Steve Gentry <[EMAIL PROTECTED]>:


If it makes any difference, the file is coming from VM SMTP as a PUN  file




*"Stracka, James (GTI)" <[EMAIL PROTECTED]>*
Sent by: The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU>

04/11/2007 11:28 AM
Please respond to The IBM z/VM Operating System

        To:        IBMVM@LISTSERV.UARK.EDU
        cc:
        Subject:        Re: Programmable operator working:  my bad; next
opportunity


Try READCARD or EXECIO?
-----Original Message-----*
From:* The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] *On
Behalf Of *Steve Gentry*
Sent:* Wednesday, April 11, 2007 11:23 AM*
To:* [EMAIL PROTECTED]
Subject:* Re: Programmable operator working: my bad; next opportunity


I finally got the programmable operator piece working.   I'm a little
embarrassed by my mistake.  I had a misplaced RETURN  command in the EXEC.
I looked at the EXEC I don't know how many times and didn't see it.
Do'h!
Now my next opportunity.  I want to take the file that was placed in the
reader and  receive it into a file (or a stem).
To my knowledge there are at least two ways to do this.
1) the RECEIVE command (issued from an EXEC)
2) the Pipe READER FILE function
both work but not the way I want.
From a REXX EXEC, I issue the RECEIVE command. It brings the RDR file in
and sticks it in a file called ALL NOTEBOOK even if I specify a file_name,
file_type, file_mode.
From a PIPE READER FILE function I am able to stick it in the file name,
file type that I want but it is not formatted correctly(missing carriage
returns and line feeds).  I looked at some examples in some IBM manuals, but
none touch on how to format it.
Bottom line, I want it to be in the format that the RECEIVE command does
but I want to give it a unique file name.  The name ALL NOTEBOOK or any
derivative there of is not an option.
Any suggestions?

Again, TIA,

Steve G.
------------------------------

If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy, retain
or redistribute it. *Click here * <http://www.ml.com/email_terms/>for
important additional terms relating to this e-mail.     *
http://www.ml.com/email_terms/* <http://www.ml.com/email_terms/>
------------------------------





--
Kris Buelens,
IBM Belgium, VM customer support

Reply via email to