Re: wc3270 or NOTEPAD++ help

2021-02-13 Thread Radoslaw Skorupka

W dniu 12.02.2021 o 21:19, Jeremy Nicoll pisze:

On Fri, 12 Feb 2021, at 20:09, Paul Gilmartin wrote:

On Fri, 12 Feb 2021 19:59:09 +, Michael Brennan wrote:


Just use native FTP from your PC to your mainframe.


He says he has *only* "wc3270 or NOTEPAD++".

On my system:

C:\>where ftp
C:\Windows\System32\ftp.exe

I'd be amazed if all the standard parts of Windows are not there.


That's why I wrote we don't know what exactly is allowed in this 
scenario and what is forbidden.
However this exercise seems irrational - I understand lack of budget and 
only free tools, but why only two tools? Maybe another constraint would 
be to disable right mouse button or "E" key?
BTW: It is real. I did really work in a shop where right mouse button 
was disabled "for security reasons". And the host was accessible through 
some cryptic gateway, so IP address set up in emulator was not real host 
address. FTP was up, but the host was inaccessible. However IND$FILE was 
working.

So, I can imagine that built in ftp client is disabled. Why not?
BTW: Some companies deny to use any freeware. Everything you want to use 
have to be supported, etc. I'm curious how they explained use of 
internet browsers.



--
Radoslaw Skorupka
(looking for new job)
Lodz, Poland

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: wc3270 or NOTEPAD++ help

2021-02-13 Thread Charles Mills
I have installed a free, open source, native Windows tool called 7-Zip. I
see an option to create or add to a TAR archive.

Also appears to support the writing of 7z, bzip2, gzip, wim, xz and zip
formats. Decompresses a whole bunch of others.

https://www.7-zip.org/ 

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Jeremy Nicoll
Sent: Saturday, February 13, 2021 2:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: wc3270 or NOTEPAD++ help

On Sat, 13 Feb 2021, at 21:24, Paul Gilmartin wrote:

> My Windows knowledge is rudimentary.  What tool creates a TAR archive?

I'd guess the standard linux command, if the machine had this installed:

https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux

(or a cygwin, or msys2 or mingw environment).

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: wc3270 or NOTEPAD++ help

2021-02-13 Thread Jeremy Nicoll
On Sat, 13 Feb 2021, at 21:24, Paul Gilmartin wrote:

> My Windows knowledge is rudimentary.  What tool creates a TAR archive?

I'd guess the standard linux command, if the machine had this installed:

https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux

(or a cygwin, or msys2 or mingw environment).

-- 
Jeremy Nicoll - my opinions are my own.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: wc3270 or NOTEPAD++ help

2021-02-13 Thread Paul Gilmartin
On Sat, 13 Feb 2021 21:49:33 +0200, Binyamin Dissen wrote:
>
>The issue was legal, and FTP is blocked (don't ask me why .) - I could
>connect, but any action would drop the connection (even in passive mode)
>
>But the idea of Unix tools was good. They had bash, so I converted it into a
>TAR and was able to user wc3270 file transfer. Now hoping that I can undo
>(which requires an increase in USS space)
>
Good.
My Windows knowledge is rudimentary.  What tool creates a TAR archive?
I don't see it as a WinZip  option.

See: 
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.bpxa500/r4paxsh.htm

You should be able to verify it with:
pax -v  to 

exec sed -e 's/^M$//' "$@"

Transfer to PDS (if necessary) with OGETX.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: wc3270 or NOTEPAD++ help

2021-02-13 Thread Binyamin Dissen
Thanks for the responses.

The issue was legal, and FTP is blocked (don't ask me why .) - I could
connect, but any action would drop the connection (even in passive mode)

But the idea of Unix tools was good. They had bash, so I converted it into a
TAR and was able to user wc3270 file transfer. Now hoping that I can undo
(which requires an increase in USS space)

On Fri, 12 Feb 2021 13:49:56 -0600 Paul Gilmartin
<000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

:>On Fri, 12 Feb 2021 14:22:56 -0500, Gord Tomlin wrote:

:>>I don't know whether the OP's lack of choice on software is due to finances 
or administrative restrictions. I'm going to go ahead on the assumption that 
it's a lack of dollars.
 
:>If the OP can use a (free) zip utility, the archives can be extracted on z/OS
:>with jar.  Conversion to EBCDIC can be done individually with iconv or en 
masse
:>with pax. s can be stripped with sed or tr.

:>On Administrative restrictions: "Mit der Dummheit kämpfen Götter selbst 
vergebens."

:>>wc3270 is a variant of x3270, built to run on Windows. x3270 contains 
IND$FILE support.
:>>http://x3270.bgp.nu/

:>>Passport provided a FTP client for Windows. I believe this has been taken 
over by Rocket and renamed to something else, and I don't know whether they 
retained the FTP client.
:>>https://filezilla-project.org/

:>>Windows itself contains a line-mode FTP client. If you want GUI, FileZilla 
is good and free.

:>>7-Zip is a good free alternative to WinZip.
:>>https://www.7-zip.org/

:>Beware! 7-Zip (by default?) creates a default archive format incomprehensible
:>to customary zip utilities.

:>On Fri, 12 Feb 2021 12:33:28 -0700, Sri h Kolusu wrote:

:>>Why not use the good old DOS commands in batch to combine all the text
:>>files into a single with header of the file name?

:>He said he hasn't "good old DOS commands"; only "wc3270 or NOTEPAD++".

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Any way to anticipate failure messages

2021-02-13 Thread Colin Paice
Many moons ago I wrote some rexx execs to process SDSF operlog in ISPF
edit.   I've recreated them.
They are on https://github.com/colinpaicemq/Goodies
The doc says

A suite of rexx execs to process the operlog available with SDSF. It does
the following

   1. S1 convert each multi line message into a single line
   2. S2 contains a list of "boring" message ids. These get deleted from
   the file
   3. S3 Sorts the list on message id
   4. S4 Goes through the list and any message ids that have already been
   processed get excluded. This displays unique message ids.  You can then use
   ISPF delete all x to remove  the duplicates.
   5. You edit the file to leave only boring messages and run S5. This
   creates some rexx code you can use in S2

It shrank a 9000 line operlog down to 500 lines. When I used the "boring"
rexx - it left 10 messages.

I gave the original to customers to run.  Once you have deleted all of the
boring messages, any new ones jump out at you.   It was great at catching
"short of disk space" type messages and other warnings.

Please let me have any comments or feedback offline.

Colin

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN