Re: IBM z16 Announcement in Asia

2022-04-04 Thread Timothy Sipples
IBM’s global press release is available here:

https://newsroom.ibm.com/2022-04-05-Announcing-IBM-z16-Real-time-AI-for-Transaction-Processing-at-Scale-and-Industrys-First-Quantum-Safe-System

Please join us for the IBM z16 Day SE if you’re able — starting in about 8 
hours as I write this. Details and registration here:

https://www.ibm.com/community/z/ibm-z16-day-se-2022/

— — — — —
Timothy Sipples
Senior Architect
Digital Assets, Industry Solutions, and Cyber Security
IBM Z and LinuxONE
sipp...@sg.ibm.com


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


IBM z16 Announcement in Asia

2022-04-04 Thread Parwez
https://www.ibm.com/common/ssi/cgi-bin/ssialias?infotype=an=ca=gpateam=872=ENUSAG22-0002

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


Re: [MVS-OE] Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Paul Gilmartin
On Tue, 5 Apr 2022 11:09:55 +0800, David Crayford wrote:

>I won't be losing any sleep over it! I have seen many IBM installation
>scripts that rely on cat supporting data sets.
>
IBM may do things internally, even in customer-facing code that
are not documented; non-GUPI.  Many years ago, I complained
here that
//NAME  IF FALSE THEN
seems to work as expected, but is documented as "unpredictable".
Why doesn't IBM:
o make it predictable
o document it as it predictable operates
o or prohibit it by making it a JCL error.

"Unpredictable" is treacherous.

Peter Relson (IIRC) riposted that many such constructs are either
reserved for IBM internal use or for future development which may
contradict our empirical inferences about their implementation.

>... Just for fun, here is a
>list of z/OS UNIX core-utils that use fopen().
>
[ lots of them. ]  IBM is free to rescind their unsupported operation and
correspondingly modify those installation  scripts.  Would Peter disagree?

-- 
gil

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


Re: [MVS-OE] Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Paul Gilmartin
On Apr 4, 2022, at 19:08:47, Kirk Wolf wrote:
> 
> $(fromdsn //DD:DSNS)  
> returns a multiline string as one arg.  
>  
But since $( ... ) is unquoted, shell tokenizes it as awk needs:
598 $ echo $( cat dsns )
"//'SYS1.MACLIB(ACB)'" "//'SYS1.MACLIB(CHECK)'" "//'SYS1.MACLIB(CLOSE)'" 
"//'SYS1.MACLIB(DYNALLOC)'"

almost like:
601 $ cat dsns | xargs echo
//'SYS1.MACLIB(ACB)' //'SYS1.MACLIB(CHECK)' //'SYS1.MACLIB(CLOSE)' 
//'SYS1.MACLIB(DYNALLOC)'   

versus:
599 $ echo "$( cat dsns )"
"//'SYS1.MACLIB(ACB)'"
"//'SYS1.MACLIB(CHECK)'"
"//'SYS1.MACLIB(CLOSE)'"
"//'SYS1.MACLIB(DYNALLOC)'"

But don't the quotation marks confuse fopen() in awk?  Or does
fromdsn magically strip those?  Ah!  I see xargs strips them!

> ... Actually it won't work, since $(  ) does a fork into a different 
> address space and the DD isn't there.
>  
OK.  COZBATCH runs ini the job step address space.  And it
can spawn() sh locally into that same address space.  But
doesn't sh need to fork() fromdsn to run the pipe, thereby
losing the "//DSNS DD   *"?

> xargs is completely different, but works perfectly for when you want to 
> tokenize a stream into additional arguments for a command.
>  
Does it tokenize differently from sh?  Yes, but not here.

>> On Apr 4, 2022, at 10:47:36, Kirk Wolf wrote:
>>>...
>>> //AWK  EXEC PGM=COZBATCH
>>> //DSNS DD   *
>>> "//'SYS1.MACLIB(ACB)'"
>>> "//'SYS1.MACLIB(CHECK)'"
>>> "//'SYS1.MACLIB(CLOSE)'"
>>> "//'SYS1.MACLIB(DYNALLOC)'"
>>> /*
>>> //STDIN DD  *
>>> fromdsn //DD:DSNS |
>>> xargs awk '/STR/ {print FILENAME ":" NR "\t" $0 }'
>>> //

-- 
gil

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


Re: [MVS-OE] Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread David Crayford
I won't be losing any sleep over it! I have seen many IBM installation 
scripts that rely on cat supporting data sets. Just for fun, here is a 
list of z/OS UNIX core-utils that use fopen().


Binary file /bin/ar matches
Binary file /bin/as matches
Binary file /bin/asa matches
Binary file /bin/at matches
Binary file /bin/awk matches
Binary file /bin/batch matches
Binary file /bin/bc matches
Binary file /bin/c++ matches
Binary file /bin/c89 matches
Binary file /bin/calendar matches
Binary file /bin/captoinfo matches
Binary file /bin/cat matches
Binary file /bin/cc matches
Binary file /bin/clear matches
Binary file /bin/col matches
Binary file /bin/comm matches
Binary file /bin/compress matches
Binary file /bin/cp matches
Binary file /bin/cpio matches
Binary file /bin/crontab matches
Binary file /bin/csplit matches
Binary file /bin/ctags matches
Binary file /bin/cut matches
Binary file /bin/cxx matches
Binary file /bin/dbe matches
Binary file /bin/dbgld matches
Binary file /bin/dbx31 matches
Binary file /bin/dbx64 matches
Binary file /bin/dbxd64 matches
Binary file /bin/dd matches
Binary file /bin/diff matches
Binary file /bin/dig matches
Binary file /bin/dircmp matches
Binary file /bin/ed matches
Binary file /bin/egrep matches
Binary file /bin/ex matches
Binary file /bin/expand matches
Binary file /bin/ezatmail matches
Binary file /bin/fgrep matches
Binary file /bin/file matches
Binary file /bin/fold matches
Binary file /bin/fuser matches
Binary file /bin/gencat matches
Binary file /bin/grep matches
Binary file /bin/gsktrace matches
Binary file /bin/head matches
Binary file /bin/iden matches
Binary file /bin/infocmp matches
Binary file /bin/ipsec matches
Binary file /bin/join matches
Binary file /bin/ld matches
Binary file /bin/ldapadd matches
Binary file /bin/ldapcompare matches
Binary file /bin/ldapdelete matches
Binary file /bin/ldapmodify matches
Binary file /bin/ldapmodrdn matches
Binary file /bin/ldapsearch matches
Binary file /bin/lex matches
Binary file /bin/link matches
Binary file /bin/ln matches
Binary file /bin/localedef matches
Binary file /bin/localedef64 matches
Binary file /bin/logger matches
Binary file /bin/lp matches
Binary file /bin/mail matches
Binary file /bin/mailx matches
Binary file /bin/make matches
Binary file /bin/man matches
Binary file /bin/mcp matches
Binary file /bin/mcpgath matches
Binary file /bin/mcpscat matches
Binary file /bin/md5 matches
Binary file /bin/mkcatdefs matches
Binary file /bin/more matches
Binary file /bin/mv matches
Binary file /bin/nl matches
Binary file /bin/nm matches
Binary file /bin/nslookup matches
Binary file /bin/nsupdate matches
Binary file /bin/onslookup matches
Binary file /bin/pack matches
Binary file /bin/paste matches
Binary file /bin/patch matches
Binary file /bin/pax matches
Binary file /bin/pcat matches
Binary file /bin/pdbx matches
Binary file /bin/pedb matches
Binary file /bin/pg matches
Binary file /bin/pmd matches
Binary file /bin/poe matches
Binary file /bin/pr matches
Binary file /bin/ps matches
Binary file /bin/rmail matches
Binary file /bin/rmd160 matches
Binary file /bin/scp matches
Binary file /bin/script matches
Binary file /bin/sed matches
Binary file /bin/sendmail matches
Binary file /bin/setfacl matches
Binary file /bin/sftp matches
Binary file /bin/sh matches
Binary file /bin/sha1 matches
Binary file /bin/sha224 matches
Binary file /bin/sha256 matches
Binary file /bin/sha384 matches
Binary file /bin/sha512 matches
Binary file /bin/sort matches
Binary file /bin/spell matches
Binary file /bin/split matches
Binary file /bin/ssh matches
Binary file /bin/ssh-add matches
Binary file /bin/ssh-agent matches
Binary file /bin/ssh-keygen matches
Binary file /bin/ssh-keyscan matches
Binary file /bin/strings matches
Binary file /bin/strip matches
Binary file /bin/tail matches
Binary file /bin/talk matches
Binary file /bin/tar matches
Binary file /bin/tic matches
Binary file /bin/tput matches
Binary file /bin/trmdstat matches
Binary file /bin/tsort matches
Binary file /bin/uconvdef matches
Binary file /bin/uncompress matches
Binary file /bin/unexpand matches
Binary file /bin/uniq matches
Binary file /bin/unpack matches
Binary file /bin/uucp matches
Binary file /bin/uudecode matches
Binary file /bin/uuencode matches
Binary file /bin/uuname matches
Binary file /bin/uustat matches
Binary file /bin/uux matches
Binary file /bin/vi matches
Binary file /bin/wall matches
Binary file /bin/wc matches
Binary file /bin/write matches
Binary file /bin/xargs matches
Binary file /bin/xsdosrg matches
Binary file /bin/yacc matches
Binary file /bin/zcat matches

On 5/4/22 01:59, Kirk Wolf wrote:

Gil,
We certainly have seen that using data sets from z/OS Unix commands that don't 
explicitly document support is your pet peeve.   IMO this seems overly 
pedantic, since IBM code that uses fopen (and works) is extremely unlikely to 
stop.

On Mon, Apr 4, 2022, at 12:08 PM, Paul Gilmartin wrote:

On Apr 4, 2022, at 10:47:36, Kirk Wolf wrote:

- You can make awk 

Re: LPA

2022-04-04 Thread Ed Jaffe

On 4/4/2022 5:13 PM, Rob Schramm wrote:

I am feeling particularly annoyed. I don't want to use LPALSTxx for
products.  I want to be able to upgrade a product with a minimum of fuss.
I would like to use PROGXX and manage LPA dynamically.  But the PROGxx and
SETPROG seem woefully under-powered for such a thing.  This is more pointed
when systems have infrequent IPLs.


SETPROG LPA,ADD,MASK=*,DSN=data.set.name


--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/



This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

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


Re: [MVS-OE] Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Kirk Wolf
$(fromdsn //DD:DSNS)  
returns a multiline string as one arg.   Actually it won't work, since $(  ) 
does a fork into a different address space and the DD isn't there.

xargs is completely different, but works perfectly for when you want to 
tokenize a stream into additional arguments for a command.

On Mon, Apr 4, 2022, at 7:44 PM, Paul Gilmartin wrote:
> On Apr 4, 2022, at 10:47:36, Kirk Wolf wrote:
> > ...
> > //AWK  EXEC PGM=COZBATCH
> > //DSNS DD   *
> > "//'SYS1.MACLIB(ACB)'"
> > "//'SYS1.MACLIB(CHECK)'"
> > "//'SYS1.MACLIB(CLOSE)'"
> > "//'SYS1.MACLIB(DYNALLOC)'"
> > /*
> > //STDIN DD  *
> > fromdsn //DD:DSNS |
> >  xargs awk '/STR/ {print FILENAME ":" NR "\t" $0 }'
> > //
> >  
> In utter ignorance of "fromdsn", I wonder. What can xargs do that
> can't be done equally we'll with command substitution, e.g.:
> //STDIN DD  *
>awk '/STR/ {print FILENAME ":" NR "\t" $0 }' $(
> fromdsn //DD:DSNS )
> 
> I've found xargs useful only with non-portable filenames, then:
> find ... -print0 | xargs -0 
> 
> Alas, z/OS supports neither "find ... -print0" nor "xargs -0"
> 
> -- 
> gil
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

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


Re: [MVS-OE] Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Paul Gilmartin
On Apr 4, 2022, at 10:47:36, Kirk Wolf wrote:
> ...
> //AWK  EXEC PGM=COZBATCH
> //DSNS DD   *
> "//'SYS1.MACLIB(ACB)'"
> "//'SYS1.MACLIB(CHECK)'"
> "//'SYS1.MACLIB(CLOSE)'"
> "//'SYS1.MACLIB(DYNALLOC)'"
> /*
> //STDIN DD  *
> fromdsn //DD:DSNS |
>  xargs awk '/STR/ {print FILENAME ":" NR "\t" $0 }'
> //
>  
In utter ignorance of "fromdsn", I wonder. What can xargs do that
can't be done equally we'll with command substitution, e.g.:
//STDIN DD  *
   awk '/STR/ {print FILENAME ":" NR "\t" $0 }' $(
fromdsn //DD:DSNS )

I've found xargs useful only with non-portable filenames, then:
find ... -print0 | xargs -0 

Alas, z/OS supports neither "find ... -print0" nor "xargs -0"

-- 
gil

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


Re: z/OS v2R5 TN3270 Changes

2022-04-04 Thread Tom Brennan
Uh oh... I sent you a reply yesterday.  Do you have a spam folder?  Am I 
spam? :)


On 4/2/2022 9:35 PM, Brian Westerman wrote:

Tom,

How do I get a copy of the new test version?

Brian

On Fri, 1 Apr 2022 22:10:08 -0700, Tom Brennan  
wrote:


Thanks, Vista TN3270 V1.27 from 2014 uses old openssl libraries that
only support up to TLS1.2, but I do have a test version with newer
libraries that connects via TLS1.3 (thanks to some recent help from the
CBT Tape folks).

On 4/1/2022 9:16 PM, Brian Westerman wrote:

Some of our clients were using the older Mocha, we found from Mochasoft that they had to use 
version 2.3 (from 2015) or above, version 2.4 (from 2016) was the "preferred" lower limit 
from mochasoft.  Some of the clients were able to get a "free" update tot he current 
version, but that was back in 2020 so it may no longer be available in that way.

However, a company license is only $299 US, so for the cost of basically 10 
copies, you get a license for an unlimited number of users at your company.

I still think that VISTA (from Tom Brennan) is much better though.

At the time we did a study of what tn3270 clients were able to be used with 
AT/TLS and there were (I think) about 8 that actually worked, some of them were 
extremely expensive and I think 1 or 2 were even free or at least free for 
personal use, but it's been two years so things may have changed.

Brian

--
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
.



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


LPA

2022-04-04 Thread Rob Schramm
Listers,

I am feeling particularly annoyed. I don't want to use LPALSTxx for
products.  I want to be able to upgrade a product with a minimum of fuss.
I would like to use PROGXX and manage LPA dynamically.  But the PROGxx and
SETPROG seem woefully under-powered for such a thing.  This is more pointed
when systems have infrequent IPLs.

Rob Schramm

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


Re: Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Farley, Peter x23353
Thanks again Kirk - I too love those goofy shell quotes ().

Could also conceivably use a "here document" for the inputs to the first awk  
and just have all the DSN's in-stream with the commands, but that would be 
showing off .

Peter

-Original Message-
From: MVS OpenEdition  On Behalf Of Kirk Wolf
Sent: Monday, April 4, 2022 7:31 PM
To: mvs...@vm.marist.edu
Subject: Re: Running z/OS Unix commands from an MVS sequential dataset

xargs takes a command template and runs it with all of the words read from 
stdin tacked on as args.   This works well with awk since it takes a list of 
filenames to process as arguments.

FWIW, you can also use awk to read a list of dsns (without "//'...'" ).  This 
also shows that since awk uses fopen that it can read from DDs if it's run in 
the same address space as the shell.   For Gil :-)

//AWK  EXEC PGM=COZBATCH
//DSNS DD   *
SYS1.MACLIB(ACB)
SYS1.MACLIB(CHECK)
SYS1.MACLIB(CLOSE)
SYS1.MACLIB(DYNALLOC)
/*
//STDIN DD  *
awk '{print "\"//'\''" $1 "'\''\"" }' //DD:DSNS |
  xargs awk '/STR/ {print FILENAME ":" NR "\t" $0 }'
//

But I mostly like it because of the goofy shell quoting that it required :-)

On Mon, Apr 4, 2022, at 5:53 PM, Farley, Peter x23353 wrote:
> Thanks for the awk idea Kirk, I should have considered that solution myself.  
> I need to read up on the xargs command first though, I have not used it and 
> need a better understanding of how it works.
>
> Peter
>
> -Original Message-
> From: MVS OpenEdition  On Behalf Of Kirk Wolf
> Sent: Monday, April 4, 2022 12:48 PM
> To: mvs...@vm.marist.edu
> Subject: Re: Running z/OS Unix commands from an MVS sequential dataset
>
> EXTERNAL EMAIL
>
> This is how I would do it.
>
> - You can make awk not only act like (f)grep, but it also takes dsn 
> syntax  since uses fopen()
> - awk will also read multiple files in one execution, so this will run rings 
> around other ways that require a couple of forks for every dsn that you are 
> searching.
> - you can also customize how the output looks (see below)
>
> //AWK  EXEC PGM=COZBATCH
> //DSNS DD   *
> "//'SYS1.MACLIB(ACB)'"
> "//'SYS1.MACLIB(CHECK)'"
> "//'SYS1.MACLIB(CLOSE)'"
> "//'SYS1.MACLIB(DYNALLOC)'"
> /*
> //STDIN DD  *
> fromdsn //DD:DSNS |
>   xargs awk '/STR/ {print FILENAME ":" NR "\t" $0 }'
> //
>
> Replace STR above with your regex.
> You can make this work with BPXBATCH and cat instead of fromdsn, but 
> its not nearly as slick :-)
>
> Kirk Wolf
> Dovetailed Technologies
> https://urldefense.com/v3/__http://dovetail.com__;!!Ebr-cpPeAnfNniQ8HS
> AI-g_K5b7VKg!YWy9o1XPpMwBL-at2HSefZAJ0ORxBp0McqmDmjob2R2NodfjeaVxqa6Fc
> W_0T5fCjUVbIA$
>
> Co:Z Toolkit is free to use under the terms of our Community License.   
> Commercial license and support agreements are available.
>
>
> On Sun, Apr 3, 2022, at 4:06 PM, Farley, Peter x23353 wrote:
> > Thanks for the "fgrep -n" suggestion, that will definitely help in solving 
> > the actual business issue.
> >
> > Using "sh -x" is not as helpful though because although you get a separate 
> > output line for the "cat" of the MVS data set (good, would allow removal of 
> > the "echo" command) but you also get another line for the piped "fgrep" 
> > (not-so -useful noise).
> >
> > Now if fgrep actually accepted MVS data set syntax on its command line like 
> > awk does then "sh -x" would be very useful, since the only command 
> > necessary would be fgrep.  Perhaps the coming "unification" of the file 
> > systems will help (once my employer's systems get to that OS level at some 
> > fairly long time post-GA).
> >
> > Thanks again for your prompt and helpful assistance.
> >
> > Peter
> >
> > -Original Message-
> > From: IBM Mainframe Discussion List  On 
> > Behalf Of Paul Gilmartin
> > Sent: Sunday, April 3, 2022 4:40 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Running z/OS Unix commands from an MVS sequential 
> > dataset
> >
> > On Sun, 3 Apr 2022 19:35:34 +, Farley, Peter x23353 wrote:
> >
> > >That worked, got output to STDOUT as desired.
> > >
> > Yaaay!  (With no setup copy?)
> >
> > >Thankoyou for your help!
> > >
> > You' re welcome.  A couple extra thoughts:
> > // PARM='SH  /bin/cp //"''TSOUSER.UNIXCMDS.SH''" /dev/fd/1 | /bin/sh -x 
> > 2>&1'
> >
> > "-x" logs the commands to identify data sets, merging that log with stdout.
> >
> > "fgrep -n" numbers the lines.
> --
>
> This message and any attachments are intended only for the use of the 
> addressee and may contain information that is privileged and confidential. If 
> the reader of the message is not the intended recipient or an authorized 
> representative of the intended recipient, you are hereby notified that any 
> dissemination of this communication is strictly prohibited. If you have 
> received this communication in error, please notify us immediately by e-mail 
> and delete the message and any attachments from your system.
>
> --
> For MVS-OE 

Re: ZD Learners Edition now available

2022-04-04 Thread Jay Maynard
Nope. After some initial difficulties getting access, I'm now doing the 51
GB download...and it's 2.4.

On Sun, Apr 3, 2022 at 8:25 PM Joseph Reichman 
wrote:

> Is 2.5 out
>
>
>
> > On Apr 3, 2022, at 7:09 PM, Jay Maynard  wrote:
> >
> > I was just notified that the ZD LE package is available for download
> from
> > the Passport Advantage site. I'm also told that the product manager is
> > having the USB dongles sent to him and he will be sending them out to the
> > address on the order, to simplify and expedite the process. Finally, he
> > will be issuing new licenses with 1-year terms when we notify him we've
> > received the dongle.
> >
> > Yay! Now to saturate my network bandwidth for a while...
> > --
> > Jay Maynard
> >
> > --
> > 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
>


-- 
Jay Maynard

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


Re: Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Farley, Peter x23353
Thanks for the awk idea Kirk, I should have considered that solution myself.  I 
need to read up on the xargs command first though, I have not used it and need 
a better understanding of how it works.

Peter

-Original Message-
From: MVS OpenEdition  On Behalf Of Kirk Wolf
Sent: Monday, April 4, 2022 12:48 PM
To: mvs...@vm.marist.edu
Subject: Re: Running z/OS Unix commands from an MVS sequential dataset

EXTERNAL EMAIL

This is how I would do it.

- You can make awk not only act like (f)grep, but it also takes dsn syntax  
since uses fopen()
- awk will also read multiple files in one execution, so this will run rings 
around other ways that require a couple of forks for every dsn that you are 
searching.
- you can also customize how the output looks (see below)

//AWK  EXEC PGM=COZBATCH
//DSNS DD   *
"//'SYS1.MACLIB(ACB)'"
"//'SYS1.MACLIB(CHECK)'"
"//'SYS1.MACLIB(CLOSE)'"
"//'SYS1.MACLIB(DYNALLOC)'"
/*
//STDIN DD  *
fromdsn //DD:DSNS |
  xargs awk '/STR/ {print FILENAME ":" NR "\t" $0 }'
//

Replace STR above with your regex.
You can make this work with BPXBATCH and cat instead of fromdsn, but its not 
nearly as slick :-)

Kirk Wolf
Dovetailed Technologies
https://urldefense.com/v3/__http://dovetail.com__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!YWy9o1XPpMwBL-at2HSefZAJ0ORxBp0McqmDmjob2R2NodfjeaVxqa6FcW_0T5fCjUVbIA$
 

Co:Z Toolkit is free to use under the terms of our Community License.   
Commercial license and support agreements are available.


On Sun, Apr 3, 2022, at 4:06 PM, Farley, Peter x23353 wrote:
> Thanks for the "fgrep -n" suggestion, that will definitely help in solving 
> the actual business issue.
>
> Using "sh -x" is not as helpful though because although you get a separate 
> output line for the "cat" of the MVS data set (good, would allow removal of 
> the "echo" command) but you also get another line for the piped "fgrep" 
> (not-so -useful noise).
>
> Now if fgrep actually accepted MVS data set syntax on its command line like 
> awk does then "sh -x" would be very useful, since the only command necessary 
> would be fgrep.  Perhaps the coming "unification" of the file systems will 
> help (once my employer's systems get to that OS level at some fairly long 
> time post-GA).
>
> Thanks again for your prompt and helpful assistance.
>
> Peter
>
> -Original Message-
> From: IBM Mainframe Discussion List  On 
> Behalf Of Paul Gilmartin
> Sent: Sunday, April 3, 2022 4:40 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Running z/OS Unix commands from an MVS sequential dataset
>
> On Sun, 3 Apr 2022 19:35:34 +, Farley, Peter x23353 wrote:
>
> >That worked, got output to STDOUT as desired.
> >
> Yaaay!  (With no setup copy?)
>
> >Thankoyou for your help!
> >
> You' re welcome.  A couple extra thoughts:
> // PARM='SH  /bin/cp //"''TSOUSER.UNIXCMDS.SH''" /dev/fd/1 | /bin/sh -x 
> 2>&1'
>
> "-x" logs the commands to identify data sets, merging that log with stdout.
>
> "fgrep -n" numbers the lines.
--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

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


Re: non Db2 DFSort and zIIP question [EXTERNAL]

2022-04-04 Thread Attila Fogarasi
SMF16 records for DFSORT show how much cpu time was zIIP eligible and how
much was actually dispatched on zIIP.  You can check your own system to see
what relevance it has for your workload.  In the past only Db2 Utilities
workload was zIIP eligible in DFSORT, but that may have changed recently (I
don't know if IBM finally did it).  Lots of other non-Db2 zIIP exploitation
is out there.

On Tue, Apr 5, 2022 at 7:45 AM Pommier, Rex  wrote:

> Thanks, Paul.  That definitely answers my second question.  I haven't seen
> the Redbook so this clears up whether ZSort uses a zIIP.  Kind of makes me
> wonder if SyncSort's (OK, "Precisely's") ZPSaver would take advantage of
> the new instructions.  Best of both worlds on a significantly sub-capacity
> machine.  Use new instructions that accelerate sorting on a full speed
> zIIP.  :-)
>
> Back to my original question since I don't have a z15, does DFSort exploit
> zIIP at all?  I'm guessing "no" since I've seen nothing current about it.
>
> Thanks again,
>
> Rex
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of Feller, Paul
> Sent: Monday, April 4, 2022 4:09 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: non Db2 DFSort and zIIP question [EXTERNAL]
>
> Rex, on a z15 there is an "Integrated Accelerator for Z Sort" which has
> nothing to do with zIIPs or general CPs.
>
> From an IBM Redbook - IBM z15 (8561) Technical Guide IBM Integrated
> Accelerator for Z SORT Sorting data is a significant part of IBM Z
> workloads including batch workloads, database query processing, and utility
> processing. The amount of data stored and processed on Z continues to grow
> at a high rate driving an ever-increasing sort workload.  IBM z15 processor
> adds special hardware to significantly accelerate frequently used
> functions.  The IBM Integrated Accelerator for Z sort has been implemented
> on each core and it provides new architected instructions for sorting data
> to speed up sorting operations.  It supports multiple active sorts in
> parallel and it is designed to:
>
> •   Optimize elapsed time and CPU time
> •   Shorten the batch window (primarily targeting existing batch type
> sort workloads
> •   Improve select database functions, such as reorganization to help
> reorganize data more frequently as sorted data is faster to access in
> interactive use
>
>
> Paul Feller
> GTS Mainframe Technical Support
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of Pommier, Rex
> Sent: Monday, April 4, 2022 3:22 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: non Db2 DFSort and zIIP question [EXTERNAL]
>
> Hello list,
>
> The subject line summarizes my question.  We're running a z14 (so the
> SORTL stuff doesn't apply according to the doc I've read) and z/OS 2.4.
> Does DFSort support offloading to a zIIP processor for non Db2 sorting?  I
> know I could purchase db2sort which is Syncsort under the covers for db2
> sorts but I'm wondering about regular batch EXEC PGM=SORT usage of DFSort.
> I found a hit from about 8 years ago where at that point they didn't
> exploit a zIIP but was wondering if anything has changed.
>
> On a second subject, if we ever migrate beyond the z14, is the SORTL stuff
> available on the z15 and above (presumably) using zIIP or is it merely
> doing other acceleration on the general purpose engines?
>
> TIA,
>
> Rex
>
> --
> The information contained in this message is confidential, protected from
> disclosure and may be legally privileged. If the reader of this message is
> not the intended recipient or an employee or agent responsible for
> delivering this message to the intended recipient, you are hereby notified
> that any disclosure, distribution, copying, or any action taken or action
> omitted in reliance on it, is strictly prohibited and may be unlawful. If
> you have received this communication in error, please notify us immediately
> by replying to this message and destroy the material in its entirety,
> whether in electronic or hard copy format. Thank you.
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to lists...@listserv.ua.edu with the
> message: INFO IBM-MAIN
>
> --
> Please note:  This message originated outside your organization. Please
> use caution when opening links or attachments.
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> The information contained in this message is confidential, protected from
> disclosure and may be legally privileged. If the 

Re: Date and time - MVS and OMVS

2022-04-04 Thread Paul Gilmartin
On Mon, 4 Apr 2022 14:16:55 -0700, Charles Mills wrote:

>If you want them both to be the same, why not just set them both the same?
>
>Serious question.
> 
No.  That fails for human error, indolence, and bias ("We don't need
no steenkin UNIX -- we got along fine without it in 1968!")  That
provoked the OP's perplexity.

Rather, there should be a single point of control in PARMLIB, perhaps
HMC, in which a value could be entered in the format described in
UNIX System Services Command Reference, Appendix I. TZ environment
variable.  This implies the current offset and schedule of Daylight
Saving changes.  Control block entries such as CVTLDTO can be
derived from this, preferably automatically.  Existing control block
entries do not provide sufficient information to calculate the TZ
environment variable such as for:
Australia/Canberra: "AEST-10AEDT,M10.1.0,M4.1.0/3"
America/Denver: "MST7MDT,M3.2.0,M11.1.0"

That system setting should govern the behavior of processes ini
which TZ is unset, rather than the current default of UTC.


>On Apr 4, 2022, at 11:40:05, Peter wrote:
>>
>> I see OMVS and MVS have their own time and date settings.
>>
>> Isn't their a way to have a common configuration settings for  date and
>> time for MVS and OMVS ?
>>
>RFE.

-- gil

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


Re: non Db2 DFSort and zIIP question [EXTERNAL]

2022-04-04 Thread Pommier, Rex
Thanks, Paul.  That definitely answers my second question.  I haven't seen the 
Redbook so this clears up whether ZSort uses a zIIP.  Kind of makes me wonder 
if SyncSort's (OK, "Precisely's") ZPSaver would take advantage of the new 
instructions.  Best of both worlds on a significantly sub-capacity machine.  
Use new instructions that accelerate sorting on a full speed zIIP.  :-)

Back to my original question since I don't have a z15, does DFSort exploit zIIP 
at all?  I'm guessing "no" since I've seen nothing current about it.

Thanks again,

Rex

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Feller, Paul
Sent: Monday, April 4, 2022 4:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: non Db2 DFSort and zIIP question [EXTERNAL]

Rex, on a z15 there is an "Integrated Accelerator for Z Sort" which has nothing 
to do with zIIPs or general CPs.

From an IBM Redbook - IBM z15 (8561) Technical Guide IBM Integrated Accelerator 
for Z SORT Sorting data is a significant part of IBM Z workloads including 
batch workloads, database query processing, and utility processing. The amount 
of data stored and processed on Z continues to grow at a high rate driving an 
ever-increasing sort workload.  IBM z15 processor adds special hardware to 
significantly accelerate frequently used functions.  The IBM Integrated 
Accelerator for Z sort has been implemented on each core and it provides new 
architected instructions for sorting data to speed up sorting operations.  It 
supports multiple active sorts in parallel and it is designed to:

•   Optimize elapsed time and CPU time
•   Shorten the batch window (primarily targeting existing batch type sort 
workloads
•   Improve select database functions, such as reorganization to help 
reorganize data more frequently as sorted data is faster to access in 
interactive use


Paul Feller
GTS Mainframe Technical Support

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Pommier, Rex
Sent: Monday, April 4, 2022 3:22 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: non Db2 DFSort and zIIP question [EXTERNAL]

Hello list,

The subject line summarizes my question.  We're running a z14 (so the SORTL 
stuff doesn't apply according to the doc I've read) and z/OS 2.4.  Does DFSort 
support offloading to a zIIP processor for non Db2 sorting?  I know I could 
purchase db2sort which is Syncsort under the covers for db2 sorts but I'm 
wondering about regular batch EXEC PGM=SORT usage of DFSort.  I found a hit 
from about 8 years ago where at that point they didn't exploit a zIIP but was 
wondering if anything has changed.

On a second subject, if we ever migrate beyond the z14, is the SORTL stuff 
available on the z15 and above (presumably) using zIIP or is it merely doing 
other acceleration on the general purpose engines?

TIA,

Rex

--
The information contained in this message is confidential, protected from 
disclosure and may be legally privileged. If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful. If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format. Thank you.


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

--
Please note:  This message originated outside your organization. Please use 
caution when opening links or attachments.


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

--
The information contained in this message is confidential, protected from 
disclosure and may be legally privileged. If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful. If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format. Thank you.



Re: Date and time - MVS and OMVS

2022-04-04 Thread Charles Mills
If you want them both to be the same, why not just set them both the same?

Serious question.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Paul Gilmartin
Sent: Monday, April 4, 2022 11:00 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Date and time - MVS and OMVS

On Apr 4, 2022, at 11:40:05, Peter wrote:
> 
> I see OMVS and MVS have their own time and date settings.
> 
> Isn't their a way to have a common configuration settings for  date and
> time for MVS and OMVS ?
>  
RFE.

Would any IBM rep care to discuss this common need on the fora?
I have some ideas.

-- 
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: non Db2 DFSort and zIIP question [EXTERNAL]

2022-04-04 Thread Feller, Paul
Rex, on a z15 there is an "Integrated Accelerator for Z Sort" which has nothing 
to do with zIIPs or general CPs.

From an IBM Redbook - IBM z15 (8561) Technical Guide
IBM Integrated Accelerator for Z SORT
Sorting data is a significant part of IBM Z workloads including batch 
workloads, database query processing, and utility processing. The amount of 
data stored and processed on Z continues to grow at a high rate driving an 
ever-increasing sort workload.  IBM z15 processor adds special hardware to 
significantly accelerate frequently used functions.  The IBM Integrated 
Accelerator for Z sort has been implemented on each core and it provides new 
architected instructions for sorting data to speed up sorting operations.  It 
supports multiple active sorts in parallel and it is designed to:

•   Optimize elapsed time and CPU time
•   Shorten the batch window (primarily targeting existing batch type sort 
workloads
•   Improve select database functions, such as reorganization to help 
reorganize data more frequently as sorted data is faster to access in 
interactive use


Paul Feller
GTS Mainframe Technical Support

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Pommier, Rex
Sent: Monday, April 4, 2022 3:22 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: non Db2 DFSort and zIIP question [EXTERNAL]

Hello list,

The subject line summarizes my question.  We're running a z14 (so the SORTL 
stuff doesn't apply according to the doc I've read) and z/OS 2.4.  Does DFSort 
support offloading to a zIIP processor for non Db2 sorting?  I know I could 
purchase db2sort which is Syncsort under the covers for db2 sorts but I'm 
wondering about regular batch EXEC PGM=SORT usage of DFSort.  I found a hit 
from about 8 years ago where at that point they didn't exploit a zIIP but was 
wondering if anything has changed.

On a second subject, if we ever migrate beyond the z14, is the SORTL stuff 
available on the z15 and above (presumably) using zIIP or is it merely doing 
other acceleration on the general purpose engines?

TIA,

Rex

--
The information contained in this message is confidential, protected from 
disclosure and may be legally privileged. If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful. If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format. Thank you.


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

--
Please note:  This message originated outside your organization. Please use 
caution when opening links or attachments.


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


non Db2 DFSort and zIIP question

2022-04-04 Thread Pommier, Rex
Hello list,

The subject line summarizes my question.  We're running a z14 (so the SORTL 
stuff doesn't apply according to the doc I've read) and z/OS 2.4.  Does DFSort 
support offloading to a zIIP processor for non Db2 sorting?  I know I could 
purchase db2sort which is Syncsort under the covers for db2 sorts but I'm 
wondering about regular batch EXEC PGM=SORT usage of DFSort.  I found a hit 
from about 8 years ago where at that point they didn't exploit a zIIP but was 
wondering if anything has changed.  

On a second subject, if we ever migrate beyond the z14, is the SORTL stuff 
available on the z15 and above (presumably) using zIIP or is it merely doing 
other acceleration on the general purpose engines?

TIA,

Rex

--
The information contained in this message is confidential, protected from 
disclosure and may be legally privileged. If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful. If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format. Thank you.


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


Re: [MVS-OE] Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Kirk Wolf
The z/OS documentation isn't complete and doesn't cover lots of things that 
users rely on.   As with most things, you have to make reasonable judgements.   
  But I do understand that this particular one bothers you :-)

On Mon, Apr 4, 2022, at 1:25 PM, Paul Gilmartin wrote:
> On Mon, 4 Apr 2022 12:59:27 -0500, Kirk Wolf wrote:
> >
> >We certainly have seen that using data sets from z/OS Unix commands that 
> >don't explicitly document support is your pet peeve.   IMO this seems overly 
> >pedantic, since IBM code that uses fopen (and works) is extremely unlikely 
> >to stop.
> > 
> The drawbacks are:
> o Those utilities that accept DSNs without documentation lack the
>   fine control of attributes and options provided by such as /bin/cp.
>   Suppose IBM, to benefit one customer changes, e.g. an
>   autoconversion behavior that impacts another.
> o If it breaks, IBM may not take an APAR.
> 
> As an ISV, do you rely on unsupported behavior in customer-facing
> code?  (Or is //DSN supporrt documented under special licenses?)
> You may have beta test access and be prepared  for unexpected
> adverse changes.
> 
> -- 
> gil
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

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


Re: [MVS-OE] Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Paul Gilmartin
On Mon, 4 Apr 2022 12:59:27 -0500, Kirk Wolf wrote:
>
>We certainly have seen that using data sets from z/OS Unix commands that don't 
>explicitly document support is your pet peeve.   IMO this seems overly 
>pedantic, since IBM code that uses fopen (and works) is extremely unlikely to 
>stop.
> 
The drawbacks are:
o Those utilities that accept DSNs without documentation lack the
  fine control of attributes and options provided by such as /bin/cp.
  Suppose IBM, to benefit one customer changes, e.g. an
  autoconversion behavior that impacts another.
o If it breaks, IBM may not take an APAR.

As an ISV, do you rely on unsupported behavior in customer-facing
code?  (Or is //DSN supporrt documented under special licenses?)
You may have beta test access and be prepared  for unexpected
adverse changes.

-- 
gil

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


Re: z/OS v2R5 TN3270 Changes

2022-04-04 Thread Alan Young
Crossover makes it very easy to install applications in Wine. It can also 
install applications into different wine instances. There is a 30 day trial 
available.
 
https://www.codeweavers.com/crossover
 
-Original Message-
From: IBM Mainframe Discussion List 
Sent: Apr 4, 2022 9:16 AM
To: 
Subject: Re: z/OS v2R5 TN3270 Changes
 
https://linuxize.com/post/how-to-install-wine-on-ubuntu-20-04/
 
On Mon, Apr 4, 2022 at 11:49 AM Lennie Dymoke-Bradshaw
wrote:
>
> Mike,
>
> I am interested in running Vista 3270 in my Ubuntu system.
> Are there any instructions for what I need to do to get this working?
> I have no experience with Wine.
>
> Lennie Dymoke-Bradshaw
> https://rsclweb.com
> ‘Dance like no one is watching. Encrypt like everyone is.’
>
> -Original Message-
> From: IBM Mainframe Discussion List On Behalf Of Mike Schwab
> Sent: 02 April 2022 14:11
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: z/OS v2R5 TN3270 Changes
>
> Vista runs fine under Wine.
>
> On Sat, Apr 2, 2022 at 1:01 PM Jay Maynard wrote:
> >
> > Mochasoft is really good about updates. I had purchased their TN5250
> > package more than 10 years ago, and got a free update recently. I was
> > so impressed I bought their TN3270, too.
> >
> > I'd love to compare it to Vista, but I refuse to run Windows...
> >
> > On Fri, Apr 1, 2022, 23:16 Brian Westerman
> >
> > wrote:
> >
> > > Some of our clients were using the older Mocha, we found from
> > > Mochasoft that they had to use version 2.3 (from 2015) or above,
> > > version 2.4 (from
> > > 2016) was the "preferred" lower limit from mochasoft. Some of the
> > > clients were able to get a "free" update tot he current version, but
> > > that was back in 2020 so it may no longer be available in that way.
> > >
> > > However, a company license is only $299 US, so for the cost of
> > > basically
> > > 10 copies, you get a license for an unlimited number of users at
> > > your company.
> > >
> > > I still think that VISTA (from Tom Brennan) is much better though.
> > >
> > > At the time we did a study of what tn3270 clients were able to be
> > > used with AT/TLS and there were (I think) about 8 that actually
> > > worked, some of them were extremely expensive and I think 1 or 2
> > > were even free or at least free for personal use, but it's been two years 
> > > so things may have changed.
> > >
> > > Brian
> > >
> > > 
> > > -- 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
>
>
>
> --
> Mike A Schwab, Springfield IL USA
> Where do Forest Rangers go to get away from it all?
>
> --
> 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
 
 
 
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
 
--
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: [MVS-OE] Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Kirk Wolf
Gil, 
We certainly have seen that using data sets from z/OS Unix commands that don't 
explicitly document support is your pet peeve.   IMO this seems overly 
pedantic, since IBM code that uses fopen (and works) is extremely unlikely to 
stop.   

On Mon, Apr 4, 2022, at 12:08 PM, Paul Gilmartin wrote:
> On Apr 4, 2022, at 10:47:36, Kirk Wolf wrote:
> > 
> > - You can make awk not only act like (f)grep, but it also takes dsn syntax  
> > since uses fopen().
> >  
> Is that documented as supported?
> 
> 
> 

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

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


Re: Date and time - MVS and OMVS

2022-04-04 Thread Paul Gilmartin
On Apr 4, 2022, at 11:40:05, Peter wrote:
> 
> I see OMVS and MVS have their own time and date settings.
> 
> Isn't their a way to have a common configuration settings for  date and
> time for MVS and OMVS ?
>  
RFE.

Would any IBM rep care to discuss this common need on the fora?
I have some ideas.

-- 
gil

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


Re: Date and time - MVS and OMVS

2022-04-04 Thread Carmen Vitullo
The date and time are timezone offsets, for me on Z/os we are 
synchronizing time with an external timer (using STP)


and setting the TZ values in CEEPRM00, that parm + the profile settings 
in etc use the same TZ values to keep the time zone in sync during time 
change(s)


the STP External timer keeps the CPC clock in sync

for me @ Central time

TZ=CST+6CDT+5,M3.3.0/2,M11.2.0/2


Carmen


On 4/4/2022 12:40 PM, Peter wrote:

Hello

Good morning

I see OMVS and MVS have their own time and date settings.

Isn't their a way to have a common configuration settings for  date and
time for MVS and OMVS ?

Peter

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



--
/I am not bound to win, but I am bound to be true. I am not bound to 
succeed, but I am bound to live by the light that I have. I must stand 
with anybody that stands right, and stand with him while he is right, 
and part with him when he goes wrong. *Abraham Lincoln*/


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


Date and time - MVS and OMVS

2022-04-04 Thread Peter
Hello

Good morning

I see OMVS and MVS have their own time and date settings.

Isn't their a way to have a common configuration settings for  date and
time for MVS and OMVS ?

Peter

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


Re: [MVS-OE] Running z/OS Unix commands from an MVS sequential dataset

2022-04-04 Thread Paul Gilmartin
On Apr 4, 2022, at 10:47:36, Kirk Wolf wrote:
> 
> - You can make awk not only act like (f)grep, but it also takes dsn syntax  
> since uses fopen().
>  
Is that documented as supported?

> - awk will also read multiple files in one execution, so this will run rings 
> around other ways that require a couple of forks for every dsn that you are 
> searching.
> - you can also customize how the output looks (see below)
>  
> //AWK  EXEC PGM=COZBATCH
>   
Provided that the user's punching department considers the price acceptable.

> //DSNS DD   *
> "//'SYS1.MACLIB(ACB)'"
> "//'SYS1.MACLIB(CHECK)'"
> "//'SYS1.MACLIB(CLOSE)'"
> "//'SYS1.MACLIB(DYNALLOC)'"
> /*
> //STDIN DD  *
> fromdsn //DD:DSNS |
>  xargs awk '/STR/ {print FILENAME ":" NR "\t" $0 }'
> //
> 
> Replace STR above with your regex.
>  
fgrep doesn't use a regex; awk match() requires a regex.
Is there a circumvention other than escaping all metacharacters
in a regex?

Is ISRSUPC SRCHFOR an alternative?

> You can make this work with BPXBATCH and cat instead of fromdsn, but its not 
> nearly as slick :-)

-- 
gil

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


Re: z/OS v2R5 TN3270 Changes

2022-04-04 Thread Mike Schwab
https://linuxize.com/post/how-to-install-wine-on-ubuntu-20-04/

On Mon, Apr 4, 2022 at 11:49 AM Lennie Dymoke-Bradshaw
<032fff1be9b4-dmarc-requ...@listserv.ua.edu> wrote:
>
> Mike,
>
> I am interested in running Vista 3270 in my Ubuntu system.
> Are there any instructions for what I need to do to get this working?
> I have no experience with Wine.
>
> Lennie Dymoke-Bradshaw
> https://rsclweb.com
> ‘Dance like no one is watching. Encrypt like everyone is.’
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf Of 
> Mike Schwab
> Sent: 02 April 2022 14:11
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: z/OS v2R5 TN3270 Changes
>
> Vista runs fine under Wine.
>
> On Sat, Apr 2, 2022 at 1:01 PM Jay Maynard  wrote:
> >
> > Mochasoft is really good about updates. I had purchased their TN5250
> > package more than 10 years ago, and got a free update recently. I was
> > so impressed I bought their TN3270, too.
> >
> > I'd love to compare it to Vista, but I refuse to run Windows...
> >
> > On Fri, Apr 1, 2022, 23:16 Brian Westerman
> > 
> > wrote:
> >
> > > Some of our clients were using the older Mocha, we found from
> > > Mochasoft that they had to use version 2.3 (from 2015) or above,
> > > version 2.4 (from
> > > 2016) was the "preferred" lower limit from mochasoft.  Some of the
> > > clients were able to get a "free" update tot he current version, but
> > > that was back in 2020 so it may no longer be available in that way.
> > >
> > > However, a company license is only $299 US, so for the cost of
> > > basically
> > > 10 copies, you get a license for an unlimited number of users at
> > > your company.
> > >
> > > I still think that VISTA (from Tom Brennan) is much better though.
> > >
> > > At the time we did a study of what tn3270 clients were able to be
> > > used with AT/TLS and there were (I think) about 8 that actually
> > > worked, some of them were extremely expensive and I think 1 or 2
> > > were even free or at least free for personal use, but it's been two years 
> > > so things may have changed.
> > >
> > > Brian
> > >
> > > 
> > > -- 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
>
>
>
> --
> Mike A Schwab, Springfield IL USA
> Where do Forest Rangers go to get away from it all?
>
> --
> 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



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

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


Re: z/OS v2R5 TN3270 Changes

2022-04-04 Thread Lennie Dymoke-Bradshaw
Mike,

I am interested in running Vista 3270 in my Ubuntu system. 
Are there any instructions for what I need to do to get this working?
I have no experience with Wine.

Lennie Dymoke-Bradshaw
https://rsclweb.com 
‘Dance like no one is watching. Encrypt like everyone is.’

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Mike Schwab
Sent: 02 April 2022 14:11
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: z/OS v2R5 TN3270 Changes

Vista runs fine under Wine.

On Sat, Apr 2, 2022 at 1:01 PM Jay Maynard  wrote:
>
> Mochasoft is really good about updates. I had purchased their TN5250 
> package more than 10 years ago, and got a free update recently. I was 
> so impressed I bought their TN3270, too.
>
> I'd love to compare it to Vista, but I refuse to run Windows...
>
> On Fri, Apr 1, 2022, 23:16 Brian Westerman 
> 
> wrote:
>
> > Some of our clients were using the older Mocha, we found from 
> > Mochasoft that they had to use version 2.3 (from 2015) or above, 
> > version 2.4 (from
> > 2016) was the "preferred" lower limit from mochasoft.  Some of the 
> > clients were able to get a "free" update tot he current version, but 
> > that was back in 2020 so it may no longer be available in that way.
> >
> > However, a company license is only $299 US, so for the cost of 
> > basically
> > 10 copies, you get a license for an unlimited number of users at 
> > your company.
> >
> > I still think that VISTA (from Tom Brennan) is much better though.
> >
> > At the time we did a study of what tn3270 clients were able to be 
> > used with AT/TLS and there were (I think) about 8 that actually 
> > worked, some of them were extremely expensive and I think 1 or 2 
> > were even free or at least free for personal use, but it's been two years 
> > so things may have changed.
> >
> > Brian
> >
> > 
> > -- 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



--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
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