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 Convert PS to TXT file using jcl JCL & VSAM 7
This topic is locked: you cannot edit posts or make replies. Sort to include records of file 2 int... Java & MQSeries 1
No new posts How to modify file content using REXX CLIST & REXX 3
No new posts VB file copy COBOL program gives erro... COBOL Programming 3
No new posts SORT for dynamic trailer record + CSV... DFSORT/ICETOOL 14
Search our Forums:

Back to Top