Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 1825
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 Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us