View previous topic :: View next topic
|
Author |
Message |
akodakka
New User
Joined: 20 May 2010 Posts: 75 Location: India
|
|
|
|
Hi all
I ahve a varible decalred as S9(2)V9(8). When am initializing the varibale
its taking a storage of 11 bytes where it shuld take 10 bytes. Please advise what will be the issue with this
Code: |
02 DISCOUNT S9(2)V9(8) > +00000000000
06 XXXX-PRXXX-DIXX S9(02)V9(08) > +0000000000 |
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
typical communist, only sees what he wants to see.
the display that you posted, appears to be an xpeditor display (or some other debugger)
which displayed the sign separately,
otherwise you would be whinning about the 'over-punch'.
if you want to know the size of your fields, refer to your compiler listing. |
|
Back to top |
|
|
akodakka
New User
Joined: 20 May 2010 Posts: 75 Location: India
|
|
|
|
Hi..
Yes i was reffering to XPEDITOR display
here my DICOUNT was diclared as comp-3 VALUE --AND in XPED shows 12 bytes including +sign
But in the next variable is not a comp-3 and its showing 11 bytes including + sign
Thats why i got confused and moreover i am getting ASRA when i move
DISCOUNT TO XXXX-PRXXX-DIXX |
|
Back to top |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
If you want to see the actual hex representation of an area, use the 'H' prefix command in Xpediter. Then you will be able to see the actual byte representation, and not a display friendly interpretation of the numeric contents.
You will have to send more information on your data definitions and contents if we are to help you in your ASRA problem. |
|
Back to top |
|
|
akodakka
New User
Joined: 20 May 2010 Posts: 75 Location: India
|
|
|
|
Yes..but i think i can't explain the problem here as its so confusing for me even..
When am doing XPED that gives error at times..where at the first SQL init para called. Sometimes it's processing fine in XPED.
IF i didn't keep in XPED it will run with out any problem.
Is ASRA is only data exception. I mean only if alphanumeric to Numeric? |
|
Back to top |
|
|
Kjeld
Active User
Joined: 15 Dec 2009 Posts: 365 Location: Denmark
|
|
|
|
ASRA might not be only data exceptions. Check the CICS Messages and Codes manual for the accompanying messages.
Does the exact same module work fine in Xpediter some times and abend at other times with the exact same invocation parameters? |
|
Back to top |
|
|
|