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

whats meaning of F indicator?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sankarrajan

New User


Joined: 11 May 2005
Posts: 3

PostPosted: Wed Oct 26, 2005 5:46 pm
Reply with quote

hi,

when i opened the file with hex on option , i am seeing value like this

09999
9999F

can anybody tell me what is F indicates?
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Wed Oct 26, 2005 6:13 pm
Reply with quote

hi sankar,
F indicates the no 6 in positive na . check it i m not clear. what is this 09999??? if there is any error it will be in 2 digit only na?? doubted check it
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Oct 27, 2005 4:24 am
Reply with quote

You displayed an "unsigned" (positive is the default for this) nine digit packed decimal number with a value of 099999999.

It takes 5 bytes to represent 9 digits and the sign.

Why does an unsigned number have a sign? Don't ask. icon_sad.gif

It's probably the absolute value.

The signs are represented as:

C or F - Positive
D - Negative

There used to be other Positive signs, but they aren't used anymore.
Back to top
View user's profile Send private message
sankarrajan

New User


Joined: 11 May 2005
Posts: 3

PostPosted: Thu Oct 27, 2005 11:36 am
Reply with quote

thx for the info.

can you tell me what are the possible indicators?
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Oct 28, 2005 4:01 am
Reply with quote

They're what I showed at the end of my post. For e.g. your:
Code:

09999 can look like  09999  or if it were neg  09999
9999F                9999C                     9999D 
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Adding 'ODD' and 'EVEN' indicator at ... DFSORT/ICETOOL 6
No new posts Cobol prog to put an indicator on the... JCL & VSAM 1
No new posts Change NULL indicator in UNLOAD utility DB2 2
No new posts what is meaning of the number in dcl PL/I & Assembler 2
No new posts WER416B Error meaning SYNCSORT 9
Search our Forums:

Back to Top