ASCII to EBCDIC Comp & Comp-3 Fields 
Author Message
 ASCII to EBCDIC Comp & Comp-3 Fields

Anyone know how to format ASCII fields so that when they are FTP'd to an IMS
(EBCDIC) environment they are formatted as either Comp or Comp-3 fields?
Thx.


Sun, 14 Jan 2001 03:00:00 GMT  
 ASCII to EBCDIC Comp & Comp-3 Fields
Hi. Sounds like cobol. I don't know why you posted here, but here are some
items that may help..... Excuse please....

 ASCII and EBCDIC are 2 different character sets with different sort
sequences. I think you are confused. You should be able to FTP in binary mode
with no problems or conversions.

But if you have to convert ASCII to EBCDIC or visa versa in cobol., you can
specify a CODE-SET in the File control statement to specify the format of the
individual files used for input and/or output..   There is also a code-set
commmand in the environment section(I think) to specify format for all files
in the program.  There is a default if this command is not used in you source
code..

Comp-3 are packed fields where a number uses 4 bytes instead of the full 8
bytes. This should not have anything to do with FTP as long as the mode is
binary.  

Hope some of this helps.



Quote:
>Anyone know how to format ASCII fields so that when they are FTP'd to an IMS
>(EBCDIC) environment they are formatted as either Comp or Comp-3 fields?
>Thx.



Mon, 15 Jan 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Looking for ASCII to EBCDIC, EBCDIC to ASCII conversions OCX/DLL

2. comp.infosystems.www.authoring.misc, comp.infosystems.www.authoring.html, comp.infosystems.www.authoring.cgi, comp.infosystems.www.browsers.ms-windows

3. comp.lang.basic.VB3 and comp.lang.basic.VB4

4. comp.lang.basic.visual.3rdparty,comp.lang.basic.visual.database,comp., lang.basic.visual.misc

5. Comp-3 COBOL Fields to VB

6. Converting VB Integers to COBOL comp fields

7. Need to write a COMP-6 field

8. Need to write a COMP-6 field

9. Need to write a COMP-6 field

10. Need to write a COMP-6 field

11. Need to write a COMP-6 field

12. ASCII to EBCDIC in BASIC

 

 
Powered by phpBB® Forum Software