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
 
getting garbage value in my file while unloading the data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: getting garbage value in my file while unloading the data
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    Post subject: Re: getting garbage value in my file while unloading the dat
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

Site Director


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

PostPosted: Sun Oct 24, 2010 12:20 pm    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Sun Oct 24, 2010 1:45 pm    Post subject:
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Sun Oct 24, 2010 10:50 pm    Post subject: Reply to: getting garbage value in my file while unloading t
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am

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