EBCDIC to ASCII --part2--
Posted: Thu Oct 11, 2001 11:04 am
Ok.
It seems to be converting the EBCDIC to ASCII but there are the following problems:
- Do you use the sequential file !?! The mainframe EBCDIC file is binary.
- When do you know when the next row starts?
I created the job like this:
[[[MAINFRAME_FILE(ebcdic)]]] ----> [TRANSFORMER] -----> [[OUTPUT_FILE(ascii)]]
In the transformer I have the following :
TheString Varchar 5000 --------------------> ASCII(OUTPUT_FILE.TheString1)
I can look at the data, but not everything looks right!?
Any suggestions... ?
Pieter
-----Original Message-----
From: Ray Wurlod [mailto:ray.wurlod@Informix.Com]
Sent: Thursday, October 11, 2001 12:13 PM
To: datastage-users@oliver.com
Subject: RE: EBCDIC to ASCII
There are two complementary functions.
ASCII(x) will convert from EBCDIC to ASCII.
EBCDIC(x) will convert from ASCII to EBCDIC.
HOWEVER-----
Beware that there is more than one variant of EBCDIC. (This is particularly true in Japan.)
-----Original Message-----
From: Brundyn, Pieter [mailto:pbrundyn@metropolitan.co.za]
Sent: Thursday, 11 October 2001 19:38
To: datastage-users@oliver.com
Subject: EBCDIC to ASCII
Is there a function in datastage that will convert EBCDIC to ASCII !?
thanks
pieter
NOTICE:
This message contains privileged and confidential information intended only for the person or entity to which it is addressed.
Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited.
If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer.
The New Africa Capital Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message.
NOTICE:
This message contains privileged and confidential information intended
only for the person or entity to which it is addressed.
Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited.
If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer.
The New Africa Capital Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message.
It seems to be converting the EBCDIC to ASCII but there are the following problems:
- Do you use the sequential file !?! The mainframe EBCDIC file is binary.
- When do you know when the next row starts?
I created the job like this:
[[[MAINFRAME_FILE(ebcdic)]]] ----> [TRANSFORMER] -----> [[OUTPUT_FILE(ascii)]]
In the transformer I have the following :
TheString Varchar 5000 --------------------> ASCII(OUTPUT_FILE.TheString1)
I can look at the data, but not everything looks right!?
Any suggestions... ?
Pieter
-----Original Message-----
From: Ray Wurlod [mailto:ray.wurlod@Informix.Com]
Sent: Thursday, October 11, 2001 12:13 PM
To: datastage-users@oliver.com
Subject: RE: EBCDIC to ASCII
There are two complementary functions.
ASCII(x) will convert from EBCDIC to ASCII.
EBCDIC(x) will convert from ASCII to EBCDIC.
HOWEVER-----
Beware that there is more than one variant of EBCDIC. (This is particularly true in Japan.)
-----Original Message-----
From: Brundyn, Pieter [mailto:pbrundyn@metropolitan.co.za]
Sent: Thursday, 11 October 2001 19:38
To: datastage-users@oliver.com
Subject: EBCDIC to ASCII
Is there a function in datastage that will convert EBCDIC to ASCII !?
thanks
pieter
NOTICE:
This message contains privileged and confidential information intended only for the person or entity to which it is addressed.
Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited.
If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer.
The New Africa Capital Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message.
NOTICE:
This message contains privileged and confidential information intended
only for the person or entity to which it is addressed.
Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited.
If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer.
The New Africa Capital Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message.