Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Table for conversion of signed variables .

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Table for conversion of signed variables .
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    Post subject:
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    Post subject: Thanks,
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us