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

getting garbage value in my file while unloading the data


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mainframe_world

New User


Joined: 22 Jan 2010
Posts: 12
Location: delhi

PostPosted: Sun Oct 24, 2010 11:06 am
Reply with quote

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
View user's profile Send private message
mainframe_world

New User


Joined: 22 Jan 2010
Posts: 12
Location: delhi

PostPosted: Sun Oct 24, 2010 11:56 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Oct 24, 2010 12:20 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sun Oct 24, 2010 1:45 pm
Reply with quote

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
View user's profile Send private message
mainframe_world

New User


Joined: 22 Jan 2010
Posts: 12
Location: delhi

PostPosted: Sun Oct 24, 2010 4:25 pm
Reply with quote

Thanks to all.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Oct 24, 2010 10:50 pm
Reply with quote

You're welcome icon_smile.gif

Hopefully, this is now clear. . .

d
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top