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 

Easytrieve & S9(5)V99 field ?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
tcurrier
Intermediate


Joined: 10 Feb 2006
Posts: 188
Topics: 68

PostPosted: Fri Feb 13, 2009 9:33 pm    Post subject: Easytrieve & S9(5)V99 field ? Reply with quote

I have a field, which is defined in COBOL as S9(5)V99

in Hex, a sample value is:

F0F0F1F4F3F0D0

In Easytrieve, is there a way to display this field as:

-14.30 or 14.30-

?

Thanks for any help...
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Feb 13, 2009 11:40 pm    Post subject: Reply with quote

tcurrier,

Code:

file-var      pos 7 N 2

Display File-var


Using a Display or Report features will print the number as you desired. However if you are writing to an output file then you need to follow the procedure listed here

http://mvsforums.com/helpboards/viewtopic.php?p=13780#13780

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities 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