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

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

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 Format Binary file to EBCDIC JCL & VSAM 4
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
Search our Forums:

Back to Top