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
 
Showing 'INVALID' in file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
kumar1234

New User


Joined: 06 Nov 2007
Posts: 84
Location: bangalore

PostPosted: Wed Aug 24, 2011 3:24 pm    Post subject: Showing 'INVALID' in file
Reply with quote

Hi,

When I map a file using a copybook in file-aid a particular 2 fields shows as values 'INVALID' but if I browse using option 3.4 i can see the values.

Below is the screen shots of those 2 fields when I map using a copybook:-

PROVIDER-PAID-AMOUNT
9/NUM
(301-309)
55------------------
************* TOP OF
INVALID
INVALID
INVALID
INVALID
INVALID
INVALID

SERVICE-UNITS
7/NUM
(186-192)
45-----------
DATA *******
INVALID
INVALID
INVALID
INVALID

Could anyone please let me know why is this.

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

Soumik Das

New User


Joined: 06 Aug 2011
Posts: 25
Location: India

PostPosted: Wed Aug 24, 2011 3:30 pm    Post subject: Reply to: Showing 'INVALID' in file
Reply with quote

no we cant....

the reason is you have only given half of the info....show us the details via 3.4 option and set the HEX to ON.

Only then we might be able to help you.
Back to top
View user's profile Send private message
kumar1234

New User


Joined: 06 Nov 2007
Posts: 84
Location: bangalore

PostPosted: Wed Aug 24, 2011 4:05 pm    Post subject: Reply to: Showing 'INVALID' in file
Reply with quote

Here is it for the Amount field,

Code:
---------
    14649
4444FFFFF
000014649
---------
     5261
44444FFFF
000005261
---------
     1689
44444FFFF
000001689
"Code'd"
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Aug 24, 2011 4:10 pm    Post subject: Reply to: Showing 'INVALID' in file
Reply with quote

Mmmm... looks invalid enough to me, in that the value does not conform to a numeric display picture.

That is even when looking at it "Code"d, so we can see the spacing!

You have four leading blanks/spaces (the hex 40's). Shouldn't be lying around in a PIC 9(n) field. You're lucky FileAid caught it for you, as it is not the sort of thing which makes your program go S0C7.
Back to top
View user's profile Send private message
Soumik Das

New User


Joined: 06 Aug 2011
Posts: 25
Location: India

PostPosted: Wed Aug 24, 2011 4:13 pm    Post subject: Reply to: Showing 'INVALID' in file
Reply with quote

ahem... when I said to show us the details I meant to use BBcode..

Please use that format so that we can help you better.....whatever you have put there is seriously unformatted and I have better things to do than solve petty formatting issues...

Plus where is the copybook structure....????
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Aug 24, 2011 4:31 pm    Post subject:
Reply with quote

this should not be in cobol forum.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Aug 24, 2011 4:58 pm    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
this should not be in cobol forum.


...although it might come back when the TS wants to know the exciting way he has achieved this in his Cobol program...

Better to start a new topic for that, hint, hint, kumar1234.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1894
Location: UK

PostPosted: Wed Aug 24, 2011 5:21 pm    Post subject:
Reply with quote

Quote:
Better to start a new topic for that

or even look at the many topics discussing character and numeric and keeping them straight.

Almost 4 years on the board and TS has still not found the 'Code' button.
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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