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

what does FFFFFFFF indicates in sequential file when hex on?


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vy

New User


Joined: 16 Jun 2009
Posts: 9
Location: schaumburg

PostPosted: Wed Dec 30, 2009 11:13 am
Reply with quote

Hi,


I got the following problem when I did HEX ON on my sequential file.

For spaces hex vales is 404040 but I see FFFFF when i try to press space cursor goes to end of this FFFFF. How to find this programitically.

I tried numeric low-values high-values. It dint work. Please suggest me some options.

VY
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Wed Dec 30, 2009 11:35 am
Reply with quote

Hi, is this file FTPed from some ascii based system? it might be possible that FFFF that you are seeing is some unrecognizable character. plz refer to the ebcdic table here

www.natural-innovations.com/computing/asciiebcdic.html
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 30, 2009 4:20 pm
Reply with quote

What is the definition of the field at that location in the file? A binary (COBOL COMP) field with negative one in it would have a hex representation of FFFF and that would be valid.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Dec 30, 2009 4:48 pm
Reply with quote

I'm feeling dumb and not even able to understand what problem is being asked here... icon_eek.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 30, 2009 4:51 pm
Reply with quote

Quote:
what does FFFFFFFF indicates in sequential file when hex on?


technically correct and useless answer...
( but also the question falls into the useless category )

the presence of bytes with an x'ff' value, nothing more, nothing less
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 30, 2009 4:55 pm
Reply with quote

Anuj, I suspect the practical issue is that when you're in ISPF editor and attempt to change non-displayed characters (such as x'FF'), ISPF doesn't make the change and puts the cursor on the first displayable character after the one where the cursor was.

Which in turn raises the issue of why someone is attempting to edit a production file? And why they don't understand internal representation of data fields? And ....
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Dec 30, 2009 5:21 pm
Reply with quote

it is true, you can not change the non-display char when you attempt to change the character.

but, if you change the hex representation (which is there when you HEX ON) you can effectively change the non-display char.

now, why the TS did not try this????
It never ceases to amaze me how many people try something only one time,
(after spending ages working up the nerve to touch the keyboard)
and never try to experiment or learn something on their own.

it's always the it doesn't work. you can almost hear the whining.
Back to top
View user's profile Send private message
vy

New User


Joined: 16 Jun 2009
Posts: 9
Location: schaumburg

PostPosted: Thu Dec 31, 2009 9:21 am
Reply with quote

Field is defined as numeric and I am getting problem while trying to generate a report by doing computations.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Dec 31, 2009 9:42 am
Reply with quote

Quote:
Field is defined as numeric
This is just as meaningful as saying the field is blue. Do you mean the field is defined as a binary number, as a packed decimal number, as a display number, or even as a floating point number? All four are "numeric" fields but the hex representations for each are quite different -- and for one of them the hex value FFFFFFFF is a valid numerical value.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Dec 31, 2009 9:45 am
Reply with quote

"Field is defined as numeric" doesn't tell us much. There are several ways a field can be defined as numeric as far as COBOL is concerned: display, internal decimal, external decimal, binary, etc. In what language are you trying to do your computations in?
P.S. Robert keys faster than I do. icon_smile.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Dec 31, 2009 3:57 pm
Reply with quote

Robert Sample wrote:
And why they don't understand internal representation of data fields? ....
I believe, problem with lots of posters around here is they post in with pre-defined mind-set-up about the problem.

If some one is generating the report, with some amount/counts - why in the heaven do they want to play through that report using ISPF, I wonder Robert.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top