MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

COMP-3 field in Browse mode

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
mask-of-zorro
Beginner


Joined: 19 Nov 2005
Posts: 23
Topics: 10

PostPosted: Fri Apr 07, 2006 9:20 am    Post subject: COMP-3 field in Browse mode Reply with quote

Hello Everyone,

Pardon me if this question sounds silly.I have a COMP-3 field in my output file having the value zeros.When i open this dataset in VIEW mode i see it as spaces but when i open it in BROWSE mode the nulls are being shown as dots. Can anyone explain this ? Why is it different in view and browse mode?

Sorry, if i had posted this question in a wrong column as i dont know how to classify this.


Thanks
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Apr 10, 2006 12:31 am    Post subject: Reply with quote

Mask-of-Zorro.

What you see in View mode are not spaces and whatever you see in browse mode are not dots either. Those are hidden characters and appear like dots in browse mode and empty spaces in Edit/View mode - but you cannot edit them directly (Edit/View).

To identify these hidden characters, use the following command
Code:

 FIND ALL P'.'


If this returns a non-zero count, then you have some Comp-3 variables / junks in your dataset, otherwise you have just spaces.

To see the actual content / Edit it - you need to use HEX ON - and read the values up-and-down. For updating the values, you need to change the hex values and not the actual data line.

For example: date (2006-04-10) in packed format is stored as (020060410c) - See below.
[code:1:608ea1184c]
=COLS> ----+----1----+
000110 -


Last edited by Phantom on Mon Apr 10, 2006 2:20 am; edited 1 time in total
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Apr 10, 2006 1:51 am    Post subject: Reply with quote

See also the DISPLAY command in browse
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group