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
 

 

what does FFFFFFFF indicates in sequential file when hex on?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: what does FFFFFFFF indicates in sequential file when hex on?
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    Post subject:
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

http://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: 8002
Location: Bellevue, IA

PostPosted: Wed Dec 30, 2009 4:20 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Dec 30, 2009 4:48 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Wed Dec 30, 2009 4:51 pm    Post subject: Reply to: what does FFFFFFFF indicates in sequential file wh
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: 8002
Location: Bellevue, IA

PostPosted: Wed Dec 30, 2009 4:55 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: what does FFFFFFFF indicates in sequential file wh
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: 8002
Location: Bellevue, IA

PostPosted: Thu Dec 31, 2009 9:42 am    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Dec 31, 2009 3:57 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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