M11 is exactly what I needed, thank you very much!

Peter

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Frank Yaeger
> Sent: Monday, March 08, 2010 2:05 PM
> To: [email protected]
> Subject: Re: SORT question: How to store record count in existing
trailer?
> 
> Peter Farley wrote on 03/08/2010 10:53:05 AM:
> > I just got around to trying your solution, and it works well
EXCEPT...
> >
> > I need the output trailer count to be UNsigned zoned decimal.
> >
> > Is there any way I can make the trailer count unsigned ZD? I tried
> >specifying TO=UFF, but it did not like that:
> 
> Peter,
> 
> TO=UFF is not valid sytnax.  If you want "unsigned" ZD with leading
zeros,
> you can use M11.
> 
>   ...
>   OVERLAY=(36:5,11,ZD,SUB,+2,M11,LENGTH=11))
>   ...
> 
> This would produce a value like:,
> 
> 00000000100
> 
> If you want "unsigned" ZD without leading zeros, you can use M10.
> 
> If you want some other type of value, show me an example of exactly
what
> you want in hex.


This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to