Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
9(9) comp-3 to 9(9)v comp-3 conversion

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: 9(9) comp-3 to 9(9)v comp-3 conversion
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: 2150
Location: At my coffee table

PostPosted: Tue Feb 19, 2008 6:35 pm    Post subject: Re: 9(9) comp-3 to 9(9)v comp-3 conversion
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    Post subject:
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    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 COMP Variables Mismatch gayu7 COBOL Programming 5 Wed Dec 20, 2017 5:06 pm
No new posts Conversion of DLI update Jobs as BMP ... Gopinath Shanmugam IMS DB/DC 3 Wed Dec 20, 2017 12:02 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts Conversion of UTF-8 to EBCDIC muralikrishnan_new COBOL Programming 1 Tue Nov 21, 2017 5:33 pm
No new posts Mainframe Blocks to Tracks conversion upendrasri JCL & VSAM 1 Sat Nov 18, 2017 10:52 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us