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 

Include cond on fixed decimal field

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


Joined: 25 May 2005
Posts: 59
Topics: 20

PostPosted: Fri Apr 20, 2007 5:12 am    Post subject: Include cond on fixed decimal field Reply with quote

Hello Guys,

I have a file written from a Pli program, where there is a FIXED(13,2).
I want to sort out with an INCLUDE COND the record where the "number"is less then -20.

Here an example of "number" I get in the file:

Code:
0000000002385D -> for me is -23.85-> I want to include
0000000006020D -> for me is -60.20 > I want to include
0000000000235D -> for me is -2.35 -> I want to exclude it
0000000000235C -> for me is +2.35 -> I want to exclude it


Can you give me some advise on witch INCLUDE COND should I use? I am a littlebit lost in unsderstanding ZD, PD and stuff like that Smile

thanks a lot!
_________________
Maxisnowhere
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Apr 20, 2007 5:43 am    Post subject: Reply with quote

maxisnowhere,

try this

Code:

INCLUDE COND=(P,7,PD,LT,-2000)
P= position of the filed in the file


Kolusu
_________________
Kolusu
www.linkedin.com/in/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