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 

What can be the edit mask for S9(15) COMP-3?

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


Joined: 11 Dec 2002
Posts: 46
Topics: 15

PostPosted: Mon Jul 28, 2003 2:45 pm    Post subject: What can be the edit mask for S9(15) COMP-3? Reply with quote

I'm trying to expand Packed decimals with SYNCSORT. One of the field in input file is declared as S9(15) COMP-3 - 8 byte packed decimal. When I tried to apply M0 or M16 it abends. But when I split the field into two like...
Code:
16,4,PD,ZD,C'~',   COMPLEX-DDA-CNTRL-SEQ
20,4,PD,ZD,C'~',           COMPLEX-DDA-CNTRL-SEQ

the job runs successfully, but giving an output like
Code:
~000000.~020628G~
~000000.~020721D~

When I try to apply a edit mask to 20,4,PD,ZD,C'~' part, I'm getting a S0C7. Is there any upper limit(in length) for expanding padked decimals? or am I missing out on something? Rolling Eyes
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: Mon Jul 28, 2003 5:10 pm    Post subject: Reply with quote

Mukunda,

Try this

Code:

 16,8,PD,EDIT=(IIIIIIIIIIIIIITS),SIGNS=('+','-',,))


Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mukunda
Beginner


Joined: 11 Dec 2002
Posts: 46
Topics: 15

PostPosted: Tue Jul 29, 2003 8:33 am    Post subject: Reply with quote

Thanks Kolusu. The S0C7 was because some junk data. The mask was ok. Embarassed Thank you very much. Razz
Back to top
View user's profile Send private message
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