IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Negative value - packed field - Natural Work File


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
AL-LINDA

New User


Joined: 18 Mar 2021
Posts: 1
Location: ISRAEL

PostPosted: Thu Mar 18, 2021 9:21 pm
Reply with quote

I am rewriting a Cobol program in Natural ... Output is a sequential file ... the specs require a certain field to be S9999V99 (Cobol) - can't find an EM or SG in Natural for writing to a sequential WORK FILE

ex: 156.42 must be saved on the file as 01564B (plus value) or 01564K (minus value)

Prefer not having to use an utility to convert "1" to A and "-1" to J

Thanks
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Selecting the max value from a file. DFSORT/ICETOOL 3
This topic is locked: you cannot edit posts or make replies. Construct new record using specific f... DFSORT/ICETOOL 6
No new posts Change history of vsam file. JCL & VSAM 3
No new posts Count the number of characters in a f... CA Products 1
No new posts Split large FB file based on Key coun... DFSORT/ICETOOL 4
Search our Forums:

Back to Top