Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PULL stmt. converting numerics 2

Status
Not open for further replies.

Komen

Technical User
May 26, 2006
1
US
I know there should be an easy way around this problem but I've been unable to find it. I'm reading a large file that contains packed decimal fields. If the packed decimal field contains a byte that translates to an EBCDIC character (such as x'99' is lower case r) then PULL converts it to an upper case R. My packed decimal field is thus converted from x'17990C' to x'17D90C'. How can I prevent this. It's making me crazy!
 

Code:
parse pull line

"PULL" is shorthand for "parse upper pull". If you don't want the "upper" part, you can't use shorthand; you must specify it in the clear.


Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Two minds with but a single thought... and at exactly the same time, too!

(Except I beat you by a millisecond ;-) )

Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top