View previous topic :: View next topic
|
Author |
Message |
mainframe_world
New User
Joined: 22 Jan 2010 Posts: 12 Location: delhi
|
|
|
|
Hi All,
Just wanted your confirmation and suggestions.
I am unloading the data and retrieving the data into the file. But i am getting some garbage value in the file for some INTEGER value for
eff-data and exp-date.
Table-data declaration
TBLP_EFF_DATE INTEGER
TBLP_EXP_DATE INTEGER
On the other when i am using the FILEAID at that time i am getting the correct value for the Integer vale.
The declaration in the declgen is
TBLG-EFF-DATE PIC S9(9) USAGE COMP.
TBLG-EXP-DATE PIC S9(9) USAGE COMP.
So could you please anyone suggest me.
Thanks |
|
Back to top |
|
|
mainframe_world
New User
Joined: 22 Jan 2010 Posts: 12 Location: delhi
|
|
|
|
mainframe_world wrote: |
Hi All,
Just wanted your confirmation and suggestions.
I am unloading the data and retrieving the data into the file. But i am getting some garbage value in the file for some INTEGER value for
eff-data and exp-date.
Table-data declaration
TBLP_EFF_DATE INTEGER
TBLP_EXP_DATE INTEGER
On the other when i am using the FILEAID at that time i am getting the correct value for the Integer vale.
The declaration in the declgen is
TBLG-EFF-DATE PIC S9(9) USAGE COMP.
TBLG-EXP-DATE PIC S9(9) USAGE COMP.
So could you please anyone suggest me.
|
Any body wants any other clarification pls let me know.
It's urgent. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Sorry, but we don't do urgent. . .
From the very little that has been posted, there is nothing wrong. . .
Why do you believe there is a problem? If FileAid shows the correct value, why do you not believe this? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
why is this in CICS forum???
comp data is binary. in the unloaded file, the field will be in binary format.
file-aid converts the binary to a display-decimal
so rookies that don't understand computers can see the value without
having to understand internal representation. |
|
Back to top |
|
|
mainframe_world
New User
Joined: 22 Jan 2010 Posts: 12 Location: delhi
|
|
|
|
Thanks to all. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome
Hopefully, this is now clear. . .
d |
|
Back to top |
|
|
|