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 

Ftp of a file containing packed decimals

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
devpal
Beginner


Joined: 06 Jul 2004
Posts: 14
Topics: 8

PostPosted: Thu Aug 19, 2004 4:25 pm    Post subject: Ftp of a file containing packed decimals Reply with quote

Hi,

I need to transfer a sequential file containing packed decimals from mainframe to a notepad. It gives me all junk values in the packed decimal fields when I do this. I thought of writing a small cobol program where I can convert a packed to a numeric field and then transmit. But in this case the file length would increase. Please can you let me know if there is any alternate solution?

Regards,
Devpal.
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 Aug 20, 2004 5:42 am    Post subject: Reply with quote

Devpal,

You don't need a pgm to convert a packed decimal to a numeric. You can use SORT to conversion. The length will increase depending the value in the field. if you are sure that your data will not have a value greater than numeric field length, then you can simply convert the field.

Hope this helps...

Cheers

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 -> Other Technical Topics 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