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 Replace a string in a VB file and cop... DFSORT/ICETOOL 2
No new posts Need to add field to copybook, proble... COBOL Programming 11
No new posts JCL sort card for file creation condi... DFSORT/ICETOOL 4
No new posts File Handling COBOL Programming 9
No new posts Decompress data from JMR log file Compuware & Other Tools 4
Search our Forums:

Back to Top