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 Can BPXBATCH update TAPE file COBOL Programming 3
No new posts Sort to insert record in an empty file. DFSORT/ICETOOL 5
No new posts 3 File Match Method - Useful across a... COBOL Programming 2
No new posts Help required to reset decimal points... DFSORT/ICETOOL 10
No new posts Unable to interpret a hex value to De... COBOL Programming 7
Search our Forums:

Back to Top