Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Working with hex values in Filemanager batch job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
Emile Straker

New User


Joined: 27 Mar 2013
Posts: 1
Location: United Kingdom

PostPosted: Tue Sep 12, 2017 1:42 am    Post subject: Working with hex values in Filemanager batch job
Reply with quote

Hi,

I'm trying to do a simple find & replace of a field using the following:

Code:

££FILEM DSU INPUT=DD01,       
££FILEM     PROC=*             
IF FLD(269,9) ¬= '         ' &,
   FLD(269,9) ¬= '000000000'
THEN DO               
  OVLY_OUT('123456789',269) 
  RETURN
END
               


As well as spaces and zeros, the field above can contain x'000000000000000000'

I also want to ignore the field if it is all hex zeros.

The manual advised there are additional operators for Binary, Packed Decimal & Zoned Decimal, but I can't get the result I'm after.

Any help would be greatly appreciated.
Back to top
View user's profile Send private message

View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX LISTDSI () SMSINFO is not working upendrasri CLIST & REXX 4 Fri Nov 17, 2017 11:33 am
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 6 Fri Sep 15, 2017 9:20 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us