That's what I figured as well. That WRITE should work and when it didn't, I 
tried PM. Neither ended up working.

And yes, when I coded my WRITE I specified SF.

Thanks everyone for their feedback.
I am going to continue my debugging and see if I can figure out what I've got 
wrong.


Charles (Chuck) Hardee
Senior Systems Engineer/Database Administration
CCG Information Technology
Thermo Fisher Scientific
300 Industry Drive
Pittsburgh, PA 15275
Direct: 724-517-2633
FAX: 412-490-9230
[email protected]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Binyamin Dissen
Sent: Monday, July 14, 2014 8:17 AM
To: [email protected]
Subject: Re: Questions on SNAP/SNAPX usage

You cannot combine PL and W.

You would need to do WRITE SF followed by CHECK for each line. You can try
blocking them, but probably not worth the effort - simply do short blocks.

On Mon, 14 Jul 2014 02:51:53 -0700 "Hardee, Chuck"
<[email protected]> wrote:

:>I am using a DCB based on what the manual states is required for SNAP/SNAPX 
processing:
:>
:>         DCB   DSORG=PS,RECFM=VBA,MACRF=(W),                           .
:>               BLKSIZE=1632,LRECL=121,                                 .
:>               DDNAME=XXXX,DCBE=DMYDCBE                                 
:>
:>I was contemplating using MACRF=(W,PM) versus MACRF=(W).
:>But because of the way WRITE works versus PUT, I was hoping someone had 
established how the SNAP service handled its buffers.
:>
:>Charles (Chuck) Hardee
:>Senior Systems Engineer/Database Administration
:>CCG Information Technology
:>Thermo Fisher Scientific
:>300 Industry Drive
:>Pittsburgh, PA 15275
:>Direct: 724-517-2633
:>FAX: 412-490-9230
:>[email protected]
:>
:>-----Original Message-----
:>From: IBM Mainframe Discussion List [mailto:[email protected]] On 
Behalf Of John Gilmore
:>Sent: Sunday, July 13, 2014 7:03 PM
:>To: [email protected]
:>Subject: Re: Questions on SNAP/SNAPX usage
:>
:>Historically, LRECL=121 characterized an old-style FIXED-length print
:>line of 120 characters and a prefixed carriage-control character,
:>i.e., RECFM=F|FB.
:>
:>What exactly is the RECFM= value you are dealing with?
:>
:>John Gilmore, Ashland, MA 01721 - USA
:>
:>----------------------------------------------------------------------
:>For IBM-MAIN subscribe / signoff / archive access instructions,
:>send email to [email protected] with the message: INFO IBM-MAIN
:>
:>----------------------------------------------------------------------
:>For IBM-MAIN subscribe / signoff / archive access instructions,
:>send email to [email protected] with the message: INFO IBM-MAIN

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to