IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Table for conversion of signed variables .


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sunilkumarsaini

New User


Joined: 25 Jul 2008
Posts: 13
Location: chandigarh

PostPosted: Mon Sep 15, 2008 3:18 pm
Reply with quote

hi,

I have some values but I am not able to interprete them. Like below values

S-CPI-CTYR:2003
WS-CPI-FOR-PERIOD:05511{
WS-PREV-CPI:05511{
WS-CURR-CPI:05511{
WS-CPI-DIVISION:00000228B
WS-CALC-CPI-AMT:000270{
WS-3PCT-CPI-AMT:000354I
W WS-BASIC:012099G
WS-CPI-MO-AMT:000270{
WS-CPI-MO-AMT-H:000000{

Do somebody have tables which I can use to convert these syobols into values.

Thanks,
Sunil
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Sep 15, 2008 4:58 pm
Reply with quote

Code:

**********************************************************************
*  VALUES:                                                           *
*      1 = A          -1 = J     EXAMPLES:  NUMBER    REPRESENTATION *
*      2 = B          -2 = K                  10        00000001{    *
*      3 = C          -3 = L                 105        00000010E    *
*      4 = D          -4 = M                   0        00000000{    *
*      5 = E          -5 = N                -234        00000023M    *
*      6 = F          -6 = O                 -30        00000003}    *
*      7 = G          -7 = P                                         *
*      8 = H          -8 = Q                                         *
*      9 = I          -9 = R                                         *
*      0 = {          -0 = }                                         *
**********************************************************************
Back to top
View user's profile Send private message
Sunilkumarsaini

New User


Joined: 25 Jul 2008
Posts: 13
Location: chandigarh

PostPosted: Mon Sep 15, 2008 5:04 pm
Reply with quote

Thanks Dick. It was really helpfull.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
Search our Forums:

Back to Top