Re: wc3270 or NOTEPAD++ help
On 2021-02-12 14:46, Binyamin Dissen wrote: I am hoping some of you folk might have some ideas. I am trying to upload source files from a windows machine with only the above programs. I am not familiar with either. Is there a way to write a wc3270 script to batch the uploads rather than do one at a time? Is there a way to cause NOTEPAD++ to combine all the files in the directory into a single file with some separator line between each file This is what I use to merge (currently) 2,038 files into one, for upload to z/OS, where UPDTE from CBT Tape 093(?) puts them into a VB PDS: === CUT === del zall.txt 1> nul 2>nul :: wrapped line follows for %%a in (*.h-h) do echo ./ ADD LIST=ALL,NAME=%%a 1>> zall.txt && copy /b zall.txt+%%a zall.txt sed -i -r "s£(\./ ADD LIST=ALL,NAME=)(.*)(\.h-h)£\1\U\2\E£" zall.txt sed -i "s£[ ]*$££" zall.txt del sed* 1> nul 2> nul === CUT === "sed" is GNUMin's SED, and there's another program on the same tape 093 that can set ISPF statistics. It would also be possible to use Regina REXX (and I'm actually doing this for some other files, where I need timestamps). Robert -- Robert AH Prins robert(a)prino(d)org The hitchhiking grandfather - https://prino.neocities.org/indez.html Some REXX code for use on z/OS - https://prino.neocities.org/zOS/zOS-Tools.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Compuware comic book
Also "halogram" in the third panel. Don't mainfames come with spellcheckers? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of zMan Sent: Thursday, February 11, 2021 1:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Compuware comic book https://devops.com/wp-content/uploads/2021/02/Triumph-Of-The-Mainframe.pdf While I admire the effort, I feel compelled to point out: - The typo “mainfame” on p.5 -- 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
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. It's a command-line tool: C:\>ftp /? Transfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-A] [-x:sendbuffer] [-r:recvbuffer] [-b:asyncbuffers] [-w:windowsize] [host] -v Suppresses display of remote server responses. -n Suppresses auto-login upon initial connection. -i Turns off interactive prompting during multiple file transfers. -d Enables debugging. -g Disables filename globbing (see GLOB command). -s:filename Specifies a text file containing FTP commands; the commands will automatically run after FTP starts. -a Use any local interface when binding data connection. -A login as anonymous. -x:send sockbuf Overrides the default SO_SNDBUF size of 8192. -r:recv sockbuf Overrides the default SO_RCVBUF size of 8192. -b:async count Overrides the default async count of 3 -w:windowsize Overrides the default transfer buffer size of 65535. hostSpecifies the host name or IP address of the remote host to connect to. Notes: - mget and mput commands take y/n/q for yes/no/quit. - Use Control-C to abort commands. C:\> -- 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
A common paranoia is to not enable the mainframe side ftp server. And, the native Windows ftp client does not do encryption. On the issue of multiple files to transfer, Sri has provided a good way that should work on any level of Windows to consolidate the file(s) into one stream. If we assume Windows 10, then there are several other 'nix variations for consolidation. And, eventually having an IEBUPDTE processable file on the mainframe seems a good idea. > -Original Message- > From: IBM Mainframe Discussion List On > Behalf Of Paul Gilmartin > Sent: Friday, February 12, 2021 12:10 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: wc3270 or NOTEPAD++ help > > 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++". > > > > >From: Binyamin Dissen > >Sent: Friday, February 12, 2021 8:46 AM > >... > >I am trying to upload source files from a windows machine with only the > above > >programs. ... > > -- gil > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- 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
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++". > >From: Binyamin Dissen >Sent: Friday, February 12, 2021 8:46 AM >... >I am trying to upload source files from a windows machine with only the above >programs. ... -- 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
Just use native FTP from your PC to your mainframe. Put the files all in the same directory on your PC. 1. Open a Command Prompt on your PC. 2. CD 'prefix' - where your prefix is high level Qualifier under which the transferred files are located. 3. ftp 'Hostname' - where 'Hostname' is DNS or IP address of your z/OS system. 4. Enter this command: binonly if these are binary files. If they are text files then skip this step. 5. Enter this command to suppress the prompts asking you to confirm that the high-level qualifier for each installation file to be uploaded matches prefix: prompt off 6: Enter this command to specify the default dataset characteristics: quote site recfm=fb lrecl=80 blksize=3120 cyl pri=1 sec=1 - adjust these parms for your data. 7: Issue command: mput * - This will send every file in the directory of 'prefix' to your host.You can also do partial wildcards like if all the files begin with jjs. then mput jjs.* From: IBM Mainframe Discussion List on behalf of Binyamin Dissen Sent: Friday, February 12, 2021 8:46 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: wc3270 or NOTEPAD++ help [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] I am hoping some of you folk might have some ideas. I am trying to upload source files from a windows machine with only the above programs. I am not familiar with either. Is there a way to write a wc3270 script to batch the uploads rather than do one at a time? Is there a way to cause NOTEPAD++ to combine all the files in the directory into a single file with some separator line between each file? Appreciate any help. Thank you. -- Binyamin Dissen https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dissensoftware.com%2F&data=04%7C01%7Cmichael.brennan%40HCL.COM%7Cade11bbe96ec40fb14a508d8cf650896%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C637487380148167832%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uKLFO%2B0QFDxMkoHwSSia4ERvbcw2yp6fHaU2DzT0Ea8%3D&reserved=0 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 ::DISCLAIMER:: The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. -- 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
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++". -- 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
> Is there a way to cause NOTEPAD++ to combine all the files in the directory > into a single file with some separator line between each file? Binyamin Dissen, 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? 1. Save the following as combtxt.bat in the same directory as your text files del combined.txt for %%I in (*.txt) do ( echo %%~fI >> combined.tmp type "%%I" >> combined.tmp echo. >> combined.tmp ) ren combined.tmp combined.txt 2. Open DOS prompt and CD to the directory of your text file and issue the command comtxt.bat and all your .txt files will be combined into a single file with the header record of the file path. 3. Now FTP/send the combined.txt file to your mainframe Thanks, Kolusu -- 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
On 2021-02-12 13:27 PM, Paul Gilmartin wrote: He says (astonishingly) he has*only* "wc3270 or NOTEPAD++". Wc3270 probably includes IND$FILE but not FTP. I know only one (now obsolescent) 3270 emulator which includes FTP (server!), and it never ran on Windows. If he had WinZip (which he says he hasn't) and WinZip could create a .pax archive (I believe it can extract them) ... 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. 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/ -- Regards, Gord Tomlin Action Software International (a division of Mazda Computer Corporation) Tel: (905) 470-7113, Fax: (905) 470-6507 Support: https://actionsoftware.com/support/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Coupling Facility and z/OS SysPlex LPARs moving to new hardware
Thank you for a very helpful reply. Arye Shemer On Sun, Feb 7, 2021 at 8:43 PM Mark Jacobs < 0224d287a4b1-dmarc-requ...@listserv.ua.edu> wrote: > Assuming that your active CFRM policy allows structure movement from the > old CF LPAR(s) to the new, then yes. > > Mark Jacobs > > Sent from ProtonMail, Swiss-based encrypted email. > > GPG Public Key - > https://api.protonmail.ch/pks/lookup?op=get&search=markjac...@protonmail.com > > ‐‐‐ Original Message ‐‐‐ > > On Sunday, February 7th, 2021 at 1:34 PM, Arye Shemer < > aryeshe...@gmail.com> wrote: > > > Installation I work with is going to move Coupling Facilities and z/OS > > > > LPARs to new hardware. > > > > To best of my recollections after defining the IODFs for the new systems > > > > (z15) > > > > which should (could) include definitions for old and new systems.system > > > > programmers can rely on system commands to remove CF LPAR and activate > the > > > > new one on the new hardware. > > > > At last my question, > > > > is this assumption correct (using System Commands to remove old and > > > > activate new CF LPARs) ? > > > > I do not expect a list of commands, just approval (or not) :-) > > > > Thank you, > > > > Arye. > > > > > --- > > > > For IBM-MAIN subscribe / signoff / archive access instructions, > > > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- 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
On Fri, 12 Feb 2021 18:38:11 +0100, Radoslaw Skorupka wrote: >W dniu 12.02.2021 o 15:46, Binyamin Dissen pisze: >> I am hoping some of you folk might have some ideas. >> >> I am trying to upload source files from a windows machine with only the above >> programs. I am not familiar with either. > >In this case it would be nice to have a tool which create XMI file on PC >side. Unfortunately all xmit managers I know do not update XMI files. > >... >2. Use ftp instead of IND$FILE. >3. Use another terminal emulator. Even trial version, or just buy one of >the cheaper. > >In fact we don't know all the constraints you have. > He says (astonishingly) he has *only* "wc3270 or NOTEPAD++". Wc3270 probably includes IND$FILE but not FTP. I know only one (now obsolescent) 3270 emulator which includes FTP (server!), and it never ran on Windows. If he had WinZip (which he says he hasn't) and WinZip could create a .pax archive (I believe it can extract them) ... -- 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
W dniu 12.02.2021 o 15:46, Binyamin Dissen pisze: I am hoping some of you folk might have some ideas. I am trying to upload source files from a windows machine with only the above programs. I am not familiar with either. Is there a way to write a wc3270 script to batch the uploads rather than do one at a time? Is there a way to cause NOTEPAD++ to combine all the files in the directory into a single file with some separator line between each file? Appreciate any help. In this case it would be nice to have a tool which create XMI file on PC side. Unfortunately all xmit managers I know do not update XMI files. Few ideas: 1. Concatenate all the files in single file. You can use any tags or labels to mark boundaries. It can be IEBUPDTE compatible. Of course it is good for text files. 2. Use ftp instead of IND$FILE. 3. Use another terminal emulator. Even trial version, or just buy one of the cheaper. 4. Use another mainframe - yes, maybe it is possible to upload all the files to another system, then copy all of them to a PDS, then TSO TRANSMIT to XMI file and download it to PC. In fact we don't know all the constraints you have. -- 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
On Fri, 12 Feb 2021 14:50:50 +, Colin Paice wrote: >If you can create one large file on windows, and put > >./ADD LIST=ALL,NAME=MYNAME... > >between each file > It depends: o On the file attrributes. o And that the files contain no lines that look like IEBUPDTE commands. >you can use iebupdte for example >https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/u1438.htm >it will create a member for each section headed by ./ ADD >On Fri, 12 Feb 2021 at 14:46, Binyamin Dissen wrote: >> >> I am trying to upload source files from a windows machine with only the >> above >> programs. I am not familiar with either. >> The "only" astonishes me. -- 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
If you can create one large file on windows, and put ./ADD LIST=ALL,NAME=MYNAME... between each file you can use iebupdte for example https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.idau100/u1438.htm it will create a member for each section headed by ./ ADD Colin On Fri, 12 Feb 2021 at 14:46, Binyamin Dissen wrote: > I am hoping some of you folk might have some ideas. > > I am trying to upload source files from a windows machine with only the > above > programs. I am not familiar with either. > > Is there a way to write a wc3270 script to batch the uploads rather than do > one at a time? > > Is there a way to cause NOTEPAD++ to combine all the files in the directory > into a single file with some separator line between each file? > > Appreciate any help. > > Thank you. > > -- > 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 > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
wc3270 or NOTEPAD++ help
I am hoping some of you folk might have some ideas. I am trying to upload source files from a windows machine with only the above programs. I am not familiar with either. Is there a way to write a wc3270 script to batch the uploads rather than do one at a time? Is there a way to cause NOTEPAD++ to combine all the files in the directory into a single file with some separator line between each file? Appreciate any help. Thank you. -- 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