Converting numeric data to COBOL Comp-3
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 2
- Joined: Wed Jun 16, 2004 4:23 pm
Converting numeric data to COBOL Comp-3
I found several posts on this forum about converting packed data to numeric but could find any about doing the reverse. That happens to be what I am supposed to do. I looked in online documentation but could not find exactly what I am looking for. The SDK has a function for converting packed to integer but not the reverse. I would be a tremendous help if some one could share information about how this can be accomplished.
-
- Participant
- Posts: 133
- Joined: Wed Mar 05, 2003 4:19 pm
- Location: Lima - Peru. Sudamerica
- Contact:
Re: Converting numeric data to COBOL Comp-3
Hi,
Are you using Job Mainframe?
In the Job Mainframe constraint you must to define the next conversion
CAST(Campo AS DECIMAL(18, 4) ).
Are you using Job Mainframe?
In the Job Mainframe constraint you must to define the next conversion
CAST(Campo AS DECIMAL(18, 4) ).
Saludos,
Miguel Seclén
Lima - Peru
Miguel Seclén
Lima - Peru
-
- Participant
- Posts: 2
- Joined: Wed Jun 16, 2004 4:23 pm