Re: EBCDIC-ASCII converter and other tools

2021-01-01 Thread David Crayford
On 1/01/2021 3:07 am, Robert Prins wrote: That's a straw man argument! I have a lot of friends that use FB for their businesses which in the old days would require a bespoke web site. Potentially giving a job and income to local people, rather than the 0.0001% haha! One of my ex

Re: EBCDIC-ASCII converter and other tools

2020-12-31 Thread Robert Prins
On 2020-12-31 13:46, David Crayford wrote: On 31/12/2020 3:59 am, Robert Prins wrote: n 30/12/2020 2:04 am, Bernd Oppolzer wrote: I don't want to advocate the use of Facebook, I understand completely your concerns about it. We all have concerns about big tech and our digital footprint but

Re: EBCDIC-ASCII converter and other tools

2020-12-31 Thread David Crayford
On 31/12/2020 3:59 am, Robert Prins wrote: n 30/12/2020 2:04 am, Bernd Oppolzer wrote: I don't want to advocate the use of Facebook, I understand completely your concerns about it. We all have concerns about big tech and our digital footprint but why trust github and not Facebook. Github is

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Rupert Reynolds
They've always been there since I inherited it, but they help as it goes interactive, after the trace ?i on an error. If I press once or twice (I forget which) without entering any interactive Rexx commands, it drops out of the file, perhaps losing some diagnostic info. It's easy to press too

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Nick Jones
There is a Microsoft Windows version of the z/OS OEM batch utility, SELCOPY. SELCOPY for Microsoft Windows can be invoked as a line command in a Windows shell or from a shell script (BAT or VBS). It is capable of record based data manipulation (including ASCII<->EBCDIC) and also supports

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Robert Prins
On 2020-12-30 16:06, David Crayford wrote: On 30/12/2020 2:04 am, Bernd Oppolzer wrote: I don't want to advocate the use of Facebook, I understand completely your concerns about it. We all have concerns about big tech and our digital footprint but why trust github and not Facebook. Github

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Jeremy Nicoll
On Tue, 29 Dec 2020, at 19:25, Rupert Reynolds wrote: > novalue: > error: > trace R > xxErrL = ERL > xxErrN = RC > say > say "ERROR" xxErrN > say errortext(xxErrN) > say sourceline(xxErrL) > trace ?i > nop > nop > exit What are the two nop lines for? -- Jeremy Nicoll - my

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread Seymour J Metz
[IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Wednesday, December 30, 2020 11:06 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools On 30/12/2020 2:04 am, Bernd Oppolzer wrote: > I don't want to advocate the use of Facebook,

Re: EBCDIC-ASCII converter and other tools

2020-12-30 Thread David Crayford
On 30/12/2020 2:04 am, Bernd Oppolzer wrote: I don't want to advocate the use of Facebook, I understand completely your concerns about it. We all have concerns about big tech and our digital footprint but why trust github and not Facebook. Github is owned by Microsoft, aren't they the enemy

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Paul Gilmartin
On Tue, 29 Dec 2020 22:29:16 +0100, R.S. wrote: >Yes, exactly. >This is one of the reasons for custom-defined table. >Custom-defined is not "standard" >And yes, the goal is to change selected characters, and prepare the >opposite table. Of course translation can be reversible when the table >has

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Bernd Oppolzer
The program works correctly, 107 lines; when applied to source text and conversion is done from ASCII to EBCDIC (using the two code tables from the previous mail) and then the other way, the final result is identical with the original file :-) Kind regards Bernd Am 29.12.2020 um 23:05

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, December 29, 2020 3:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools I suspect the OP meant "

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Bernd Oppolzer
It's ok for me, it's always fun to think about the problems other people have; sooner or later, they may be yours ... I started to write a Pascal program using my Stanford compiler; I fed it with two code tables in a format which I downloaded some time ago from an IBM site (IIRC). I tried to

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread R.S.
0 12:32 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools Round trip is not possible with ASCII. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Charles Mills
y possible. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Tuesday, December 29, 2020 12:32 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools Round trip is not

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Seymour J Metz
-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools > If the input file contains not only text, but also binary and maybe decimal > packed fields, you need an external description of the record format, I think he has "round trip" translation in mind. Non-prin

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread R.S.
ly on re-translation to EBCDI"C. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bernd Oppolzer Sent: Tuesday, December 29, 2020 11:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools I

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Charles Mills
d properly on re-translation to EBCDI"C. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bernd Oppolzer Sent: Tuesday, December 29, 2020 11:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other too

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Bernd Oppolzer
If the input file contains not only text, but also binary and maybe decimal packed fields, you need an external description of the record format, which can be interpreted by the conversion program (if the program should be able to work with all file formats and not be specific for a certain

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Rupert Reynolds
om: IBM Mainframe Discussion List on behalf > of David Crayford > Sent: Tuesday, December 29, 2020 11:15 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: EBCDIC-ASCII converter and other tools > > I'm using PowerShell 7.2. I don't use PowerShell all that often but when > I do I'm

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread R.S.
W dniu 29.12.2020 o 18:54, Paul Gilmartin pisze: On Tue, 29 Dec 2020 18:12:06 +0100, R.S. wrote: 1. Yes, maybe I described it incorretly. Regarding your question - yes I need something like convert ifile ofile [-tablefile] Just byte to byte translation. No CR/LF issues, no record boundaries,

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread David Crayford
. From: IBM Mainframe Discussion List on behalf of David Crayford Sent: Tuesday, December 29, 2020 11:15 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools I'm using PowerShell 7.2. I don't use PowerShell all that often but when I do I'm blown away

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Frank Swarbrick
@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools I'm using PowerShell 7.2. I don't use PowerShell all that often but when I do I'm blown away by it's power and turned off by it's verbosity. I tend to stick to bash CLI scripts and Python these days and my beloved Lua for embedded

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread David Crayford
RV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools On 30/12/2020 1:12 am, R.S. wrote: This is even simpler tool, maybe it address rare need - just to truncate first nnn bytes from beginning of file Possible usage: truncfile -header -12384 ifile ofile truncates/deletes header, which is 12

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Mike Hochee
, but not sure, so... https://sourceforge.net/projects/convertcp/ HTH, Mike -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of R.S. Sent: Tuesday, December 29, 2020 12:12 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Frank Swarbrick
33 34 35 36 37 38 39 200123456789 From: IBM Mainframe Discussion List on behalf of David Crayford Sent: Tuesday, December 29, 2020 10:42 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools On 30/12/2020 1:1

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Bernd Oppolzer
I don't want to advocate the use of Facebook, I understand completely your concerns about it. You get all the information on New Stanford Pascal from here: http://bernd-oppolzer.de/job9.htm and the source code etc. (and all you need for the MVS installation, BTW) from here:

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Robert Prins
On 2020-12-29 17:23, Bernd Oppolzer wrote: Hi Radoslaw, would you like to try my New Stanford Pascal compiler? It would do the things you want very easily, and you could write the programs to do these tasks in minutes. It runs on Windows, and if you want, on the Mainframe, too. I would be

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Paul Gilmartin
On Tue, 29 Dec 2020 18:12:06 +0100, R.S. wrote: >1. Yes, maybe I described it incorretly. >Regarding your question - yes I need something like >convert ifile ofile [-tablefile] >Just byte to byte translation. No CR/LF issues, no record boundaries, >just byte to byte. The file can be large (may

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread David Crayford
On 30/12/2020 1:12 am, R.S. wrote: This is even simpler tool, maybe it address rare need - just to truncate first nnn bytes from beginning of file Possible usage: truncfile -header -12384 ifile ofile truncates/deletes header, which is 12384 bytes long, the output is written to ofile. Ofile is

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Bernd Oppolzer
Hi Radoslaw, would you like to try my New Stanford Pascal compiler? It would do the things you want very easily, and you could write the programs to do these tasks in minutes. It runs on Windows, and if you want, on the Mainframe, too. I would be happy to help you with the first steps to get

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread R.S.
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of R.S. Sent: Tuesday, December 29, 2020 5:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: EBCDIC-ASCII converter and other tools 1. I'm looking for some simple tool for conversion EBCDIC to ASCII and vice versa. Unfortu

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Charles Mills
al. I find it useful for examining EBCDIC files on a PC. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of R.S. Sent: Tuesday, December 29, 2020 5:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: EBCDIC-ASCII converter and other tools 1. I

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Lennie Dymoke-Bradshaw
2020 14:31 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools W dniu 29.12.2020 o 15:20, Lennie Dymoke-Bradshaw pisze: > For the first requirement I was going to recommend SVC 103 but maybe that > doesn't run under windows. > > Where does the second

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Seymour J Metz
AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools What's wrong with cp foo bar iconvd -f ANSI_X3.4-1968 -t IBM-1047 bar -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Seymour J Metz
] Sent: Tuesday, December 29, 2020 9:31 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: EBCDIC-ASCII converter and other tools W dniu 29.12.2020 o 15:20, Lennie Dymoke-Bradshaw pisze: > For the first requirement I was going to recommend SVC 103 but maybe that > doesn't run under windows. > >

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Joe Monk
https://www.vedit.com/ebcdic/simple-conversion.html Joe On Tue, Dec 29, 2020 at 8:48 AM R.S. wrote: > Well... > Ultraedit offer some conversions, but no custom-defined tables. I need > to use my own table - that's the problem. > For regular "quick and dirty" EBCDIC -> ASCII conversion I would

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread R.S.
Well... Ultraedit offer some conversions, but no custom-defined tables. I need to use my own table - that's the problem. For regular "quick and dirty" EBCDIC -> ASCII conversion I would use ...MS Word, which has ability to read EBCDIC text files. However it's also not the goal. And important:

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread R.S.
W dniu 29.12.2020 o 15:20, Lennie Dymoke-Bradshaw pisze: For the first requirement I was going to recommend SVC 103 but maybe that doesn't run under windows. Where does the second utility have to run? Windows also. Yes, on z/OS side there would be not a problem - everything is available in

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Steve Horein
I know several people that use UltraEdit: https://www.ultraedit.com/wiki/Converting_file_encoding I personally use notepad++, so cannot provide any first hand experience. On Tue, Dec 29, 2020 at 7:30 AM R.S. wrote: > 1. I'm looking for some simple tool for conversion EBCDIC to ASCII and > vice

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Massimo Biancucci
Depending on the Windows platform, you can consider to enable the Linux Bash and use the power of the bash to select the file portion and convert it. Good luck. Max Mail priva di virus.

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Lennie Dymoke-Bradshaw
is.’ -Original Message- From: IBM Mainframe Discussion List On Behalf Of R.S. Sent: 29 December 2020 13:30 To: IBM-MAIN@LISTSERV.UA.EDU Subject: EBCDIC-ASCII converter and other tools 1. I'm looking for some simple tool for conversion EBCDIC to ASCII and vice versa. Unfortunately it has

Re: EBCDIC-ASCII converter and other tools

2020-12-29 Thread Steve Smith
HxD is a very nice "Hex Editor", with a lot of features, so it may be adaptable to your needs. In any case, it's very useful for poking around downloaded EBCDIC files. sas On Tue, Dec 29, 2020 at 8:30 AM R.S. wrote: > 1. I'm looking for some simple tool for conversion EBCDIC to ASCII and >

EBCDIC-ASCII converter and other tools

2020-12-29 Thread R.S.
1. I'm looking for some simple tool for conversion EBCDIC to ASCII and vice versa. Unfortunately it has to run under Windows. Requirements: Run under Windows, preferrably in batch mode (command line interface) Custom-defined tables of conversion 2. I'm looking for a tool similar to IDCAMS