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

9(9) comp-3 to 9(9)v comp-3 conversion


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

New User


Joined: 19 Jan 2007
Posts: 3
Location: mumbai

PostPosted: Tue Feb 19, 2008 2:47 pm
Reply with quote

hi guys i have two variables:

A pic s9(9) comp-3.
B pic s9(9)v comp-3.

now when i move A to B i am getting SOC7. can ne 1 hlp me in movin the data????
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Feb 19, 2008 6:35 pm
Reply with quote

neelbiswas wrote:
A pic s9(9) comp-3.
B pic s9(9)v comp-3.

now when i move A to B i am getting SOC7.
The move is probably a ZAP (zero and add packed) which will data exception if the from field does not have valid sign and digit codes. In other words, you have garbage in A.
Back to top
View user's profile Send private message
neelbiswas

New User


Joined: 19 Jan 2007
Posts: 3
Location: mumbai

PostPosted: Wed Feb 20, 2008 9:33 am
Reply with quote

hi CICS Guy,
tx for the help it worked.
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 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts file manager is doing string conversion IBM Tools 3
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts Converting ASCII values to COMP-3 (ZD... JCL & VSAM 2
Search our Forums:

Back to Top