View previous topic :: View next topic
|
Author |
Message |
Binop B
Active User
Joined: 18 Jun 2009 Posts: 407 Location: Nashville, TN
|
|
|
|
Murali,
If you are doing a simple MOVE statement it will not work because you are basically trying to move from Numeric field to Character field. You will have to redefine the field in the Mainframe...
As mentioned before only if u give more details about the target system we will be in a position to help you better. |
|
Back to top |
|
|
pkmurali Warnings : 1 Active User
Joined: 15 Dec 2005 Posts: 271
|
|
|
|
Binop,
Quote: |
I am getting the values from container and store it in working storage variable,where the ws- variables are passed to program x. and i am getting the values from program x and i am putting into container to pass the data to java application.
|
So far i didn't get the data type for target system, but when the program is receiving from the container (Source/Target system) i am getting the values from java to COBOL ( ex. char(contains only numeric data)(java) to s9(4)comp) i am sending back the data after callin/manipulating the same variables since the requirement is to map the numeric data to char(java) i am moving the comp and comp-3 values to alphanumeric item and writting(Put container) into container.
Thanks,
Murali. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Binop,
You wrote:
Quote: |
I guess the S9(9) COMP will take only 4 bytes... |
You're right, I always seem to mis-recall the break point from 4 to 8 bytes. The line s/b:
S9(10) COMP X'FFFFFFFFFFFFFB2E'
I'll correct the orig post. Thanx for picking that up. |
|
Back to top |
|
|
|