Re: [Tutor] Converting EBCDIC characters to ASCII

2008-11-13 Thread bob gailer
Steve Bricker wrote: I see the scenario does not give enough to really allow someone to formulate an answer. An excellent reminder to write no code until the user's requirements are fully understood! OTOH a little rapid prototyping can be a fast path to discovery of requirements. Allow

Re: [Tutor] Converting EBCDIC characters to ASCII

2008-11-13 Thread Steve Bricker
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }I stand corrected. There was enough information. Thank you. BAT file has nothing to do with Python. I used it because I knew how. Once I figure it out in Python, I'll use that instead. Steve Bricker On Thu 13/11/08 11:58 , b

Re: [Tutor] Converting EBCDIC characters to ASCII

2008-11-13 Thread Steve Bricker
I see the scenario does not give enough to really allow someone to formulate an answer. Allow me to clarify a bit. The three PD fields are each 10 positions in length. Using the example below, a field with X'014C' would need to be expanded to a 19-character field of '000

Re: [Tutor] Converting EBCDIC characters to ASCII

2008-11-13 Thread bob gailer
Steve Bricker wrote: I am trying to build an application for work that FTPs a file from an IBM mainframe to my Windows desktop then process it. The EBCDIC-to-ASCII conversion works nicely (using a BAT file I created) except for three packed-decimal data fields (for example, X'

Re: [Tutor] Converting EBCDIC characters to ASCII

2008-11-13 Thread Kent Johnson
On Thu, Nov 13, 2008 at 11:14 AM, Steve Bricker <[EMAIL PROTECTED]> wrote: > I am trying to build an application for work that FTPs a file from an IBM > mainframe to my Windows desktop then process it. The EBCDIC-to-ASCII > conversion works nicely (using a BAT file I created) except for three > pa

[Tutor] Converting EBCDIC characters to ASCII

2008-11-13 Thread Steve Bricker
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }I am trying to build an application for work that FTPs a file from an IBM mainframe to my Windows desktop then process it. The EBCDIC-to-ASCII conversion works nicely (using a BAT file I created) except for three packed-decimal dat