Re: Does z/VM have a product/tool which can send backup to the Cloud ?

2023-10-27 Thread Sebastian Welton
On Fri, 27 Oct 2023 05:13:38 +, Timothy Sipples  wrote:

>I wrote:
>> IBM Cloud Tape Connector for z/OS
>
>David Crayford wrote:
>>That�s one of our products. Our team was only talking about
>>it this week. One of the team had just returned from customer
>>visits in SE Asia and quite a few muti-national banks are using
>>CTC so they can recover to data centers in different countries
>>continents. Everybody uses AWS S3. As you already mentioned,
>>you can use zones and also replicate to other zones in different
>>locales.
>
>Amazon (AWS) S3 is one of the popular choices, but to be clear you don�t have 
>to use Amazon specifically. Or a public commercial cloud. The cloud object 
>storage APIs are reasonably well standardized, and IBM Cloud Tape Connector 
>for z/OS has broad coverage.

Out of interest then, how do you get around the various data privacy rules such 
as GDPR which may not allow storage of certain data outside of a certain 
sphere? If AWS or another cloud provider is set-up to automatically transfer 
this data out of that sphere, wouldn't the company in question be subject to 
multiple privacy lawsuits?

Sebastian

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


Re: Strange results for the PS1 prompt with z/OS Unix

2023-08-19 Thread Sebastian Welton
On Fri, 18 Aug 2023 19:33:03 +0800, David Crayford  wrote:

>I'm feeling a bit puzzled here! Bash doesn't come pre-installed with
>z/OS; rather, it's a tool ported by Rocket, so there shouldn't be any
>compatibility problems, right? If IBM decides to include zsh, which is
>considered superior to bash, this could be a game-changer.

Currently trying this one out, not too sure if there is any Rocket influence or 
not:

https://github.com/ZOSOpenTools/bashport

Sebastian.

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


Re: Mainframe Makers.... WAS: Ars Technica: The IBM mainframe: How it runs and why it survives

2023-08-02 Thread Sebastian Welton
On Wed, 2 Aug 2023 01:18:53 -0500, Sebastian Welton  wrote:

>On Tue, 1 Aug 2023 15:53:57 -0400, Steve Thompson  wrote:
>
>>How about we change from Mainframe to zFrame?
>>
>>Yeah, I know, then when IBM comes up with a new Architecture...
>>How long will it take to need > 64bit addressing?
>>
>>
>
>Here you go:
>
>http://hammocktree.us/flexes/zFrameOV.pdf
>
>https://vtda.org/docs/computing/CornerstoneSystems/MVMUA_ZFrameSlideDeck_Oct2005.pdf
>

I forgot, the z14 had a Z Frame too:

https://en.wikichip.org/wiki/ibm/microarchitectures/z14

Sebastian.

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


Re: Mainframe Makers.... WAS: Ars Technica: The IBM mainframe: How it runs and why it survives

2023-08-02 Thread Sebastian Welton
On Tue, 1 Aug 2023 15:53:57 -0400, Steve Thompson  wrote:

>How about we change from Mainframe to zFrame?
>
>Yeah, I know, then when IBM comes up with a new Architecture...
>How long will it take to need > 64bit addressing?
>
>

Here you go:

http://hammocktree.us/flexes/zFrameOV.pdf

https://vtda.org/docs/computing/CornerstoneSystems/MVMUA_ZFrameSlideDeck_Oct2005.pdf

Sebastian

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


Re: Mainframe Makers.... WAS: Ars Technica: The IBM mainframe: How it runs and why it survives

2023-08-02 Thread Sebastian Welton
On Tue, 1 Aug 2023 23:09:15 +0200, Radoslaw Skorupka  
wrote:


>This is former Siemens product, very similar to IBM mainframe.
>I saw such machine around 2001 in National Bank of Austria.
>Connected to Symmetrix CKD DASD using ESCON channels.
>There was at least one installation in Poland. However it was popular in
>DACH countries (Deutschland, Austria, Confederiatio Helvetica).
>Now it is as moribound as Nec - Bull - GE - Honeywell Gecos.
>

Not quite as dead as people think, I know of a few still in Germany and then 
there is this one in the UK:

https://www.datacenterdynamics.com/en/news/fujitsu-retains-mainframe-support-contract-for-uks-police-national-computer/

The latest user group meeting in May:

https://server41.der-moderne-verein.de/portal/veranstaltungsmanager/index_direkt.php?MANDANT_KEY=635cb726889f125958900974e9ea6d26_KEY=f34eea1fe3c96348d5d0911e8ebc8c2b

Sebastian.

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


Re: Mainframe Makers.... WAS: Ars Technica: The IBM mainframe: How it runs and why it survives

2023-08-01 Thread Sebastian Welton
https://www.fujitsu.com/de/products/computing/servers/mainframe/bs2000/

Sebastian

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


Re: Is there a USS-file compatible equivalent to the SUPERC OVSUM compare yet?

2023-06-29 Thread Sebastian Welton
On Wed, 28 Jun 2023 16:39:26 +, Collinson, Shannon 
 wrote:

>I think there was a USS tools thing (fscp?) that'd compare the contents 
>of two filesystems that I used to run when converting those from HFS to ZFS 
>years ago, but the tools page is gone now so I can't grab that to check.  
>Pretty sure it wouldn't work for what I want to do anyhow, which is to compare 
>the files/directories/etc in two paths that could be in different locations in 
>their filesystems.  Is there something else that says "this guy's missing, 
>this one's new, the attributes (or better yet contents) of these are 
>different" for USS?  I cobbled together this from something a coworker had 
>that compared just directories-and made it compare the listings of those 
>directories-but the output's a little ugly.  Do you have or know of anything 
>better?

The Tools and Toys, including fscp can now be found here: 
https://github.com/IBM/IBM-Z-zOS/tree/main/zOS-Tools-and-Toys

There is also grep: 

https://www.ibm.com/docs/en/zos/2.3.0?topic=descriptions-grep-search-file-specified-pattern

With a good write up here by Lionel Dyck:

https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/lionel-dyck2/2021/07/24/using-grep-with-zos-data-sets

Sebastian.

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


Re: Mainframe REXX (Re: Badmouthing Rexx and ooRexx - again (Re: zOSMF and zOWE for non-mainframers

2023-03-03 Thread Sebastian Welton
On Thu, 2 Mar 2023 06:57:01 -0600, Jay Maynard  wrote:

>I haven't tried to write anything in Rexx, let alone a TCP server. I'd
>probably be inclined to use Go for that, though.
>

Start here and it is reasonably simple: 

- TCPIP.SEZAINST(RSSERVER)
- TCPIP.SEZAINST(R6SERVER) 

Sebastian

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


Re: Rexx function STORAGE with weird behavior on Netview

2022-12-19 Thread Sebastian Welton
Also ensure that it is not being called as a DATA REXX as described here, this 
has hit me previously:

https://www.ibm.com/docs/en/z-netview/6.2.0?topic=overview-netview-restrictions-rexx-functions

Sebastian

>This is exactly what I was going to point to:
>REXXSTRF: ENABLE
>
>https://www.ibm.com/docs/en/z-netview/6.4.0?topic=statements-defaults
>https://www.ibm.com/docs/en/z-netview/6.4.0?topic=descriptions-defaults-nccf
>

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


Re: TNZ 3270 Emulator: Any Experiences?

2022-11-18 Thread Sebastian Welton
>And now through consolidation, There's really only two TN3270 vendors left: 
>Micro Focus and IBM!
>

I think people have mentioned that there are quite a few TN3270 clients still 
out there, on my (Windows) system I have the following installed as each has 
something I require on it or can only use it on certain systems:

PCOM; - rather old version but I quite like it
Vista TN3270 - emulator of choice
wc3270 - the Windows version of x3270
MochaSoft - the only emulator I've come across that doesn't have IND$FILE 
support but I have to have it

As for other opensource, I think everyone knows the x3270 range but I've been 
using this one on Linux on and off for quite a while:

https://github.com/PerryWerneck/pw3270

pw3270 is a modern, GTK-based, completely free tn3270 emulator.

Created originally for Banco do Brasil, it's now an official Brazilian 
Government Public Software project, and is used worldwide.

Sebastian

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


Re: Finding uncatalogued datasets

2022-07-26 Thread Sebastian Welton
I'm just wondering if NaviQuest might help here:

DFSMS NaviQuest is a data and storage management tool for implementing, 
testing, and verifying the SMS environment. NaviQuest is installed under the 
Interactive Storage Management Facility (ISMF) Primary Option Menu and uses the 
standard Interactive System Productivity Facility (ISPF) panel interface.

I use it for extracting lists of volumes and the information about them which I 
feed into other programs, but it is also possible to get dataset reports. There 
are numerous samples for ISPF or batch described here:

https://www.ibm.com/docs/en/zos/2.4.0?topic=administration-using-naviquest

Sebastian

>Thank you Lionel,
>It will definitely take some time.
>I tried going through the DCOLLECT output with IGGCSIRX ant it took almost
>six hours.
>But using listdsi may be an interesting approach.
>Regards
>Jack

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


Re: Own your own Z13 and Z16

2022-07-02 Thread Sebastian Welton
On Fri, 1 Jul 2022 09:05:57 -0600, Grant Taylor  
wrote:


>
>Does using a Lenovo Z13 / Z16 to host IBM's zD or zPDT count?
>

I do actually do do that, on a Lenovo W520 and W530 and both have the original 
z13 model labels (big plastic stuck on things, like on a car) on them...Need to 
get some z16 ones for when I upgrade...

Sebastian

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


Re: HS student with question about small mainframe DASD

2022-04-16 Thread Sebastian Welton
I would have thought that if you're serious about learning z/OS, in the USA and 
qualify then surely this is much cheaper than anything else out there: 
https://www.ibm.com/docs/en/zdt/13.3.x?topic=learners-edition 


On Sat, 16 Apr 2022 00:35:04 +, Enzo D'Amato  
wrote:

>Nothing in particular about the z114, other than the seller is offering it to 
>me at an unbeatable price. In terms of the zD, I have messed around in 
>Hercules before, and it would probably be more expensive than buying the unit 
>that I am looking at. I am also hoping to learn more about the 'care and 
>feeding' of the hardware. I agree that there are certainly concerns, which is 
>why I am posting here :-).
>

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


Re: how to IPL z/OS by JCL

2022-04-07 Thread Sebastian Welton
This maybe what you're looking for:

https://www.ibm.com/docs/pt/z-system-automation/4.2.0?topic=guide-sa-bcpii-use-cases

Sebastian.


On Tue, 5 Apr 2022 20:38:03 -0500, Jason Cai  wrote:

>HI all  
>   In our shop, there are many z/OS members with  GDPS and SA. 
>   we need to logon HMC to IPL z/OS  members 
>  Could you tell us how to IPL z/OS  by JCL or script?  
>   Any suggestions are highly appreciated!
>Thanks a lot! 
>
>Jason Cai
>
>--
>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: z/PDT

2022-03-25 Thread Sebastian Welton
Dallas - ISV which means zPDT and tends to get the ADCD a bit quicker
Passport Advantage - means ZD systems and this ADCD is packaged slightly 
differently. In fact an ISV wouldn't be able to use it and vice-versa

Sebastian 

>Just opened a ticket was told will get a response by tommorow 
>
>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 in the CLOUD

2022-02-19 Thread Sebastian Welton
>Hi there,
>
>I have seen one can create a DB2 env in the cloud, but can one get a basic
>MVS system up there, or is that a bit much to ask?
>
>Tia
>
>James

Yes you can however it depends upon what you want to do with it. Production is 
basically a 'no no' but development and testing are fine and you have many 
choices although why you want cloud based is beyond me:

- ZD (or zPDT) can easily be run in the various cloud providers, I've done it 
personally with AWS and MS Azure but they run much better natively on x86
- There was the WAZI aaS announcement this week but this has actually been 
around for a while as WAZI Sandbox albeit on x86 which is basically ZD under 
the covers. The new WAZI aaS is running directly on z and doesn't (apparently) 
use emulation

Seb

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


Re: More of LOG4J

2022-01-27 Thread Sebastian Welton
Or something similar to this:

https://www.theverge.com/2022/1/9/22874949/developer-corrupts-open-source-libraries-projects-affected

Sebastian

On Wed, 26 Jan 2022 12:35:59 -0800, Tom Brennan  
wrote:

>Those are things we don't like to talk about :)  And even less talked
>about: What's to stop a trusted ISV or even IBM from being hacked or
>having a rogue employee that does the same?
>
>On 1/26/2022 11:41 AM, Gibney, Dave wrote:
>> If I was a long term bad actor, or perhaps a nation/state, I might consider 
>> evaluating open source for useful/popular components. Then, contribute to 
>> their development, spread, and usefulness, while inserting subtle 
>> exploitable defects.
>>
>
>--
>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: AWS is down.

2021-12-09 Thread Sebastian Welton
I do this occasionally (and in Azure):

https://aws.amazon.com/blogs/apn/deploying-ibm-mainframe-z-os-on-aws-with-ibm-zd-and-t/

Sebastian

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


Re: RSS feed from SYSLOG - RACF messages

2021-12-08 Thread Sebastian Welton
I've done similar with AF/Operator but many, many years ago. I wonder if this 
is the future of doing this:

https://www.ibm.com/docs/en/z-chatops/1.1.0?topic=overview

Sebastian

On Mon, 6 Dec 2021 10:15:58 -0500, IBM user  wrote:

>Has anyone implemented a feed from Syslog using RSS and AF/OPER?
>
>The idea is to present RACF messages to our service desk so they can have 
>immediate knowledge of users getting revoked, etc.
>
>I'm thinking I can write an exit program to use in AF/OPER that feeds RSS.
>
>Anybody done that? Any other ideas to use without purchasing anything new?
>
>--
>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: z/OS 2.5 install with z/OSMF

2021-11-29 Thread Sebastian Welton
On Mon, 29 Nov 2021 12:03:01 +0800, David Crayford  wrote:


>Didn't CA create the Chorus Software Manager that was generally very
>well received by the community. I haven't used it but I heard that
>installing mainframe software using SMP/E was as easy as installing a
>browser add-on using the Web UI. As for Linux package managers, they are
>so simple to use. I use debian systems and can install a complex
>software product such as
>Docker simply by using the "sudo apt install docker" command. Even
>Windows has a package manager now and "winget install python" from
>PowerShell is much simplier than downloading an MSI installer or fussy
>around with a GUI like Windows Store.
>

Installing software on Ubuntu, you can use:

- Ubuntu software center
- APT
- Synaptic Package Manager
- Downloadable packages (.deb)
  - Installing with APT
  - Installing with dpkg
  - Installing via the GUI
- Compiling from source code

If like me you support various distros, then you're going to have to remember 
some of these, and this is a very cutdown list of installers:

- apk-tools (apk): Alpine Package Keeper, the package manager for Alpine Linux;
- Flatpak: A containerized/sandboxed packaging format previously known as 
xdg-app;
- netpkg: The package manager used by Zenwalk. Compatible with Slackware 
package management tools;
- Nix Package Manager: Nix is a powerful package manager for Linux and other 
Unix systems that makes package management reliable and reproducible. It 
provides atomic upgrades and rollbacks, side-by-side installation of multiple 
versions of a package, multi-user package management and easy setup of build 
environments;
- OpenPKG: Cross-platform package management system based on RPM Package 
Manager;
- opkg: Fork of ipkg lightweight package management intended for use on 
embedded Linux devices;
- Pacman: Used in Arch Linux, Frugalware and DeLi Linux. Its binary package 
format is a zstd-compressed tar archive (file extension: .pkg.tar.zst) built 
using the makepkg utility (which comes bundled with pacman) and a specialized 
type of shell script called a PKGBUILD;
- PETget: Used by Puppy Linux;
- RPM Package Manager: Created by Red Hat. RPM is the Linux Standard Base 
packaging format and the base of a number of additional tools, including 
apt4rpm, Red Hat's up2date, Mageia's urpmi, openSUSE's ZYpp (zypper), PLD 
Linux's poldek, Fedora's DNF, and YUM, which is used by Red Hat Enterprise 
Linux, and Yellow Dog Linux;

   - probably the one most people know of but each distro seems to have it's 
own implementation so you have to know how to use each different one

- slapt-get: Which is used by Slackware and works with a binary package format 
that is essentially a xz-compressed tar archive with the file extension .txz;
- Smart Package Manager: Used by CCux Linux;
- Snappy: Cross-distribution package manager, non-free on the server-side, 
originally developed for Ubuntu;
- Zero Install (0install): Cross-platform packaging and distributions software. 
It is available for Arch Linux, Debian, Knoppix, Mint, Ubuntu, Fedora, Gentoo, 
OpenSUSE, Red Hat and Slackware;

So now I've installed python using the package manager for the distro, I then 
want to install packages at an application level. For example, if I want to 
install python packages, I then have to use pip and so on (Go, Gradle, Maven, 
Yam, et.) and now on z/OS we have miniconda...When will it ever stop?

Sebastian

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


Re: Asking for a friend - reported NPM/node.js vulnerabilities

2021-11-06 Thread Sebastian Welton
On Mon, 25 Oct 2021 05:29:53 -0500, Support, DUNNIT SYSTEMS LTD. 
 wrote:

>Correct. We installed node.js on our PCs in as part of the ZOWE CLI 
>installation. That is what we are concerned about. We do not understand 
>whether the reports I linked to may negatively affect us or not.
>

From the Zowe mailing list and I suspect we will see more and more of this as 
more and more opensource software ends up on z/OS:



Hello Zowe Users,


We were informed of a published vulnerability in NPM dependencies which 
affected Zowe CLI’s secure-credential-store during the time period of Nov 4th 
to Nov 5th. If you installed the plugin from npmjs.org during the vulnerable 
window of time via a direct command line install, you should follow the 
recommended resolution steps from the security advisory here: 
https://github.com/advisories/GHSA-g2q5-5433-rhrf. You are not affected if you 
downloaded the secure credential store plugin from zowe.org or a Zowe support 
conformant vendor (IBM or Broadcom). You are not affected if you downloaded 
from any source prior to Nov 4.


   The following component versions were affected:


@zowe/secure-credential-store-for-zowe-cli@zowe-v1-lts 

@zowe/secure-credential-store-for-zowe-cli@latest


If you issued one of these commands Nov 4 or Nov 5, you should follow the above 
resolution steps:


“zowe plugins install 
@zowe/secure-credential-store-for-zowe-cli@zowe-v1-lts”

“zowe plugins install @zowe/secure-credential-store-for-zowe-cli@latest”



Hello Zowe Developers,


We found additional Zowe components which the above vulnerability affects at 
development time, during the same time period of Nov 4th - Nov 5th. There was a 
second hijacked dependency, https://github.com/veged/coa/issues/99, which 
contained the same exploit.


Conditions for vulnerability:


Zowe API Mediation Layer, Frontend Catalog (path: api-catalog-ui/frontend)
If you issued an “npm install” for the first time in this directory Nov 
4 or Nov 5, you may have been compromised.
If you deleted any existing “package-lock.json” and then issued “npm 
install” for the first time Nov 4 or Nov 5, you may have been compromised.
Zowe Desktop Sample React Application (path: webClient)
If you issued an “npm install” for the first time in this directory Nov 
4 or Nov 5, you may have been compromised.
If you deleted any existing “package-lock.json” and then issued “npm 
install” for the first time Nov 4 or Nov 5, you may have been compromised.
Zowe CLI
If you deleted “package-lock.json” and then issued “npm install” for 
the first time Nov 4 or Nov 5, you may have been compromised.
Imperative 
If you deleted “package-lock.json” and then issued “npm install” for 
the first time Nov 4 or Nov 5, you may have been compromised.

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


Re: [EXTERNAL] Re: IBM ZDNT Learner's Edition - beware

2021-10-30 Thread Sebastian Welton
On Sat, 30 Oct 2021 16:15:06 +1300, Laurence Chiu  wrote:


>
>I get a response and since I am not in the US I have to wait until the end
>of the year;  It would be cool to spin up an Ubuntu VM in the cloud
>somewhere and load ZD and then play around from anywhere :-)
>

There is nothing stopping you doing that now if you're willing to buy the 
Personal Edition.

Sebastian.

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


Re: IBM ZDNT Learner's Edition - beware

2021-10-26 Thread Sebastian Welton
Although the product is called ZD - Z Development and Testing, this version 
has the suffix 'Learners Edition' and it quite categorically states the 
following on the various websites:

ZD for Learners Edition is for personal, individual learning use only. It is 
not for the test and development of commercial products. It enables a qualified 
learner to run an IBM® Z distribution on a personal computer.

...

ZD for Learners Edition enables a single user to run an IBM® Z distribution 
on a personal computer.

ZD for Learners Edition can create an environment to learn about mainframe 
technologies without Z mainframe hardware. It enables z/OS®, middleware, and 
other z/OS software to run on Intel and other compatible computers.

...

This license is for personal, individual learning use only and not for test and 
development of commercial products.

...

ZD for Learners Edition can only be used for personal education and training.

...

ZD for Learners Edition is for personal, individual purchase and learning 
only and cannot be used for employee training.

...

So as everything pretty much states, learning only, no development and although 
it only mentions commercial, I wonder how much opensource goes into commercial 
products now?

Sebastian

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


Re: Asking for a friend - reported NPM/node.js vulnerabilities

2021-10-25 Thread Sebastian Welton
On Sun, 24 Oct 2021 05:40:29 -0500, Support, DUNNIT SYSTEMS LTD. 
 wrote:

The only area where this could possibly be used under z/OS is with node.js and 
I don't know if the version which runs on z/OS uses this version or is one just 
for z/OS. You would be running node.js if you run ZOWE and some other 
opensource based products...

Sebastian


>I know very little about the technical side of anything Java. Those of you who 
>are wiser, could be please look at these 2 articles and help the rest of us to 
>understand how and where - if at all - this poses risks on the z/OS machine 
>side, as well as on the platforms connected to z/OS and to our non-MF work 
>environments in general (mine is Win10). Thanks.
>
>https://www.reddit.com/r/programming/comments/qdlela/breaking_npm_package_uaparserjs_with_more_than_7m/
>
>https://www.bleepingcomputer.com/news/security/popular-npm-library-hijacked-to-install-password-stealers-miners/
>
>--
>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: How to compare parameters in one z/Os with parameters in another z/OS

2021-06-15 Thread Sebastian Welton
Although not exactly what the OP wants, it could be used as as a basis for a 
new tool to do some of this work or as the tool to run manual checks. I've 
always found the SPP tool provided in SYS1.SAMPLIB to be very helpful in 
checking the various PARMLIB members on various systems.

Sebastian

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


Re: zPDT question

2021-06-03 Thread Sebastian Welton
Not quite true. ZD only supports RHEL and Ubuntu as that is what the 
installer checks for. If you look at the current Redbook for zPDT you will see 
that the installer contains:

The Red Hat (RHEL, Fedora) version of zPDT.
The Novell (SLES, openSUSE) version of zPDT
The Ubuntu version of zPDT.

If you look at the chapter on releases you will see where they tested and 
although there are formal and informal test, OpenSUSE is informally tested and 
then again, zPDT doesn't have any support anyway so theoretically, if you can 
get it working, you can run it on any Linux distro. I personally primarily only 
use OpenSUSE but did try CentOS which was fine until they became a rolling 
release (like Tumbleweed) and Ubuntu was just rubbish. I'm currently running 
some RHEL systems which seem to be fine as well.

Sebastian


On Tue, 1 Jun 2021 17:04:15 -0400, Tom Conley  wrote:

>On 6/1/2021 4:52 PM, Itschak Mugzach wrote:
>> Best place to ask is z...@groups.io. The system requirement was enterprise
>> Linux few years ago. We use (free) Centos.
>>
>> בתאריך יום ג׳, 1 ביוני 2021 ב-23:30 מאת Lionel B. Dyck :
>>
>>> Does anyone know if a zPDT will run under Windows 10 WSL2 (Ubuntu) ?
>>>
>
>Hi Lionel,
>
>The only supported Linux distributions for zPDT are RHEL and Ubuntu.
>They will pry my OpenSUSE (which they used to support but pulled the
>plug, even though they support SLES on the mainframe, HELLO McFLY,
>HELLO!!) out of my cold dead hand.  Tried Ubuntu, it bricked my laptop,
>had to do a bare metal restore back to OpenSUSE.  If you try Ubuntu, I
>wish you luck.
>
>Regards,
>Tom Conley
>
>--
>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: How can I tell the zFS files being used by my application

2021-05-18 Thread Sebastian Welton
On Fri, 14 May 2021 13:03:17 -0400, Matt Hogstrom  wrote:

>It takes z/OSMF about an hour to fully initialize on my ZD … same behavior 
>(lots of SIOs and CPU)  IBM says its fixing this but its been quite a while.  
>Its Java related.
>
>Matt Hogstrom
>m...@hogstrom.org

Wow, that's a long time. I have it running on a laptop and only takes between 
10-12 minutes before I can get in and work with it. I used it to deploy zCX on  
the system with no problems and now have Zowe running (that also takes some 
time starting). There were serious problems with zOSMF starting on these 
systems but it has got better in fact it's even mentioned here:

https://www.ibm.com/docs/en/zos/2.4.0?topic=configurations-setting-kcindex-parameter

Sebastian

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


Re: REXX assistance

2020-05-24 Thread Sebastian Welton
I run some IDCAMS processing under NetView for collecting certain data and have 
never seen such a problem. The following are some old examples of the code and 
this runs a LISTCAT and puts everything into a stem:

Do i = 1 To dsn.0   
  lc.1 = ' LISTCAT  -'  /* LISTCAT SYSIN statements  */ 
  lc.2 = 'LVL('dsn.i')  -'  
  lc.3 = 'NONVSAM   -'  
  lc.4 = 'VOLUME '  
  lc.0 = 4  
  'PIPE STEM lc.' , /* Run a PIPE with LISTCAT   */ 
   '| COLLECT' ,
   '| NETV MOE DSIVSMX IDCAMS' ,
   '| STEM lvl. APPEND' 
End

The following runs DCOLLECT and writes the output to a dataset:

'ALLOCATE DATASET('"'"outpdsn"'"') FILE(OUTDS) OLD' 
dc.1 = ' DCOLLECT -'
dc.2 = 'OFILE(OUTDS) -' 
dc.3 = 'NODATAINFO   -' 
dc.4 = 'VOLUME('dasd_type')'
dc.0 = 4
'PIPE STEM dc.' ,   
 '| COLLECT' ,  
 '| NETV MOE DSIVSMX IDCAMS' ,  
 '| STEM vs.'   
'FREE DATASET('"'"outpdsn"'"') NOHOLD' 

To then read that dataset, I just use the QSAM stage:

'PIPE QSAM (DSN)' outpdsn , 
 '| STEM uv.'  
Do i = 1 To uv.0 

Hopefully this gives some ideas on what to do. I don't use EXECIO in NetView 
but the QSAM stage to read datasets so that might be causing your problem.

Sebastian

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


Re: OT: Mandatory Work From Home at my company

2020-03-25 Thread Sebastian Welton
I have one of these which I connect to a Windows 10 and an Ubuntu laptop and so 
far it works a dream. Has made my life so much easier.

Sebastian


On Mon, 23 Mar 2020 07:44:08 -0500, Steve Beaver  wrote:

>It will arrive here in a couple of days so I will let everyone know how well
>it does or not work
>
>
>
>-Original Message-
>From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
>Behalf Of Bob Bridges
>Sent: Sunday, March 22, 2020 11:09 PM
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: Re: OT: Mandatory Work From Home at my company
>
>I'd be interested in hearing a quick review, Steve, once you've tried it out
>and have an opinion.  I don't know how serious I am about it, but it sounds
>convenient.
>
>---
>Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313
>
>/* That sort of wit which employs itself insolently in criticizing and
>censuring the words and sentiments of others in conversation is absolute
>folly; for it answers none of the ends of conversation.  He who uses it
>neither improves others, is improved himself, nor pleases anyone.  -Poor
>Richard's Almanack, 1756 */
>
>
>-Original Message-
>From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
>Behalf Of Steve Beaver
>Sent: Sunday, March 22, 2020 13:06
>
>I ordered the following from amazon
>
>   UGREEN USB 3.0 Sharing Switch Selector 4 Port 2 Computers Peripheral
>Switcher Adapter Hub for PC, Printer, Scanner, Mouse, Keyboard with One
>Button Sw
>
>--
>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: CBPs (processors) - what is it?

2019-11-08 Thread Sebastian Welton
This is actually documented in the SA4.1 documentation:

OA55159 – Additional IBM z14 Exploitation Support (November 2018)
OA55159 provides additional new function support for IBM z14. The following 
hardware automation commands are enhanced to support new special purpose 
processor type Container Based Processor (CBP):

ISQCCMD TCM (Temporary Capacity Management)
The TCM command now allows to add or remove CBP resources for specific target 
hardware.

ISQCCMD ICNTL (Image Control query and modify)
The ICNTL command now allows to query and update image control settings for 
images using CBP resources.

ISQCCMD PROFILE (Activation Profile query and modify)
The PROFILE command now allows to query and update activation profile settings 
for images using CBP resources.

Sebastian.


On Thu, 7 Nov 2019 17:37:08 +, Richards, Robert B. 
 wrote:

>If you were responding to me, I beg to differ:
>
>++ PTF (UA97969)/*
>//UA97969  JOB 5698-97969,SA300,MSGLEVEL=(1,1),CLASS=A */  .
>++ VER (Z038)
>   FMID(HWRE410)
>   PRE  (UA97308,UA96965,UA95433,UA92819)
>   SUP  (UA97081,BA55159,BA55157,AA55159,AA55157)
> /*
>   PROBLEM DESCRIPTION(S):
> OA55159 -
>   
>   * USERS AFFECTED: All System Automation for z/OS customers of  *
>   * the releases V3.5 and V4.1 using the *
>   * Processor Operations function of the product *
>   * to monitor and control their processor   *
>   * target hardware / target systems.*
>   *  *
>   * All System Automation for z/OS customers of  *
>   * the releases V3.5 and V4.1 using the BCP *
>   * Internal Interface (BCPii) function of the   *
>   * product to monitor and control their *
>   * processor target hardware / target systems.  *
>   
>   * PROBLEM DESCRIPTION: New Function support for IBM z14,   *
>   *  D/T3906 and D/T3907.*
>   
>   New Hardware support.
>
>-Original Message-
>From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
>Behalf Of R.S.
>Sent: Thursday, November 7, 2019 11:16 AM
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: Re: CBPs (processors) - what is it?
>
>No, this is different CBP. In this case it is sysplex link, obsoleted for 
>several CPC generations.
>It is typical, an acronym can have multiple meanings.
>(no, I don't want to re-start war about USS)
>
>--
>Radoslaw Skorupka
>Lodz, Poland
>
>
>
>
>
>
>W dniu 2019-11-05 o 21:43, Mike Schbab pisze:
>> The only reference I could find was in
>> https://www.google.com/url?sa=t=j==s=web=35=2ahUKEwj-w5G99tPlAhUEWqwKHWHNBfw4HhAWMAR6BAgBEAI=https%3A%2F%2Fshare.confex.com%2Fshare%2F118%2Fwebprogram%2FHandout%2FSession10691%2FIntroToSharedQueues.pdf=AOvVaw3QyWMZhBU9yTFG9-57yysI
>>   , where it is a 10 meter Cluster Bus (?Port?).
>>
>> On Tue, Nov 5, 2019 at 1:43 PM Tony Harminc 
>> mailto:t...@harminc.net>> wrote:
>>> On Tue, 5 Nov 2019 at 09:12, R.S. 
>>> mailto:r.skoru...@bremultibank.com.pl>> 
>>> wrote:
>>>
 We know the following types/flavours of mainframe processors: regular
 CP, zIIP, IFL, SAP, ICF, older zAAP ...and CBP
 This CBP is visible on Support Element panels. Help says it is "CBPs -
 Displays the active/unassigned container based processors installed on
 your system."
 Container sounds like zCX, however as far as I know zCX use CP or zIIP.
 So, what is CBP?
 Any clue?
>>> I've never heard of this, and I have no access to current Support
>>> Element stuff, but my first guess is that it's for the "z/VSE Network
>>> Appliance" (VNA). This is a lean TCP/IP stack that runs in some kind
>>> of container LPAR (SSC?)and talks to z/VSE in its own LPAR (whatever
>>> kind that is) via HiperSockets, and to the outside world via the
>>> standard network interfaces. I believe it comes as "firmware" that is
>>> loaded into the container LPAR by some SE magic, i.e. not using z/OS
>>> or z/VSE style of administration. More like the way ICF code is
>>> loaded? Maybe a CBP *processor* is available only for such container
>>> LPARs? All just guessing...
>>>
>>> Google finds mainstream z/VSE books and various presentations to user
>>> groups and such, with nice diagrams. But VNA seems to have been
>>> discontinued in Sept 2019. We z/OS people rarely think about VSE, but
>>> it's still going strong, and with some very innovative ideas.
>>>
>>> Second related guess is that the Secure Service Container (SSC) for
>>> other things (IBM Cloud Private appliance?) can use this processor
>>> type. That doc says you can use only CPs 

Re: Mainframe environment on AWS

2019-10-11 Thread Sebastian Welton
Some comments inserted, very basic ones though, but overall, you can do pretty 
much all of what you require...

On Fri, 11 Oct 2019 08:16:30 +1300, Laurence Chiu  wrote:

>That's very interesting.
>
>Looks like the personal edition might be a good tool to get new developers
>familiar with the environment. And then maybe Enterprise edition if we want
>to offload some development work from the host.

The PE version is only limited to one user so possibly not ideal for a company. 
The EE version does have single user licensing if you want to go that way but 
also multiple users and can work in tandem with Rational tokens for CPU 
licensing. In fact with the EE version you could have multiple users who could 
spin up their own z/OS systems whenever they want or you could just have one 
larger system with multiple users. It also allows you to extract CICS and DB2 
artifacts from your Z so you can even narrow it down further as to what each 
user would have in their z/OS image. There are quite a few possibilities there

>
>However is not clear to me how you would do applications development on the
>platform if you were using a third party source code management product.
>Would you be able to install that on the environment or have to download
>all the source code and copy books to this environment to be able to do
>test compiles?
>

Many companies offer licensing for their products on the ZD platform, it's 
just a question of asking them. You would probably have to copy the SCM data 
over to the ZD environment in order to use it unless there is a way of, say, 
network connectivity to it. Alternatively, just move your whole development 
environment over to ZD return the development LPAR resources back to 
production :-)

>Also does all IBM software run on the environment or only a subset?
>

Practically all z/OS software runs in this environment however there are some 
limitations to the emulation side, not everything Z can be emulated although 
IBM have performed an admirable task here. As a ZD user you would also be 
licensed to use the ADCD stack which includes nearly all IBM middleware 
products and more: 
http://dtsc.dfw.ibm.com/MVSDS/'HTTPD2.ADCD.GLOBAL.SHTML(A23DREAD)'

>Also one of the projects we would be looking at is spinning up our first
>sysplex. It would be cool to be able to do that using ZDG Parallel
>Sysplex but the application we want to test in this Plex is not from IBM
>and I have no idea how you would get it to run.

The Parallel Sysplex offering requires that you run z/VM, one of the ares where 
zPDT cannot perform all emulation. Documented here: 
https://www.ibm.com/support/knowledgecenter/en/SSTQBD_12.0.4/com.ibm.zsys.rdt.guide.adcd.doc/topics/c_node_zvm_adcd.html
 Once again, for a 3rd party product, you would just need to talk to the 
supplier about licensing.

There are a lot of resources on the web from IBM about ZD

Sebastian


>
>On Thu, Oct 10, 2019, 9:44 PM Sebastian Welton  wrote:
>
>> They are pretty much the same product, ZD uses zPDT as the underlying
>> emulator but depending upon which version you use, has many enhancements to
>> provide a DevOps experience. As already pointed out, zPDT is only for ISVs
>> and ZD is available to commercial entities but you are bound by the usage
>> which tends to be only development, testing and education: from IBM:
>>
>> 
>> It creates an environment for mainframe application demonstration,
>> development, testing, and employee education without Z mainframe hardware
>>
>> ZD cannot be used for production workloads of any kind, nor robust
>> development workloads, production module builds, preproduction testing,
>> stress testing, or performance testing.
>> 
>>
>> There are 3 versions of ZD:
>>
>> ZD Personal Edition - this enables a single user to run an IBM® Z
>> distribution on a personal computer.
>> ZD Enterprise Edition - this enables enterprises to host an IBM Z
>> distribution on low-cost Intel-based x86 machines. Enterprise Edition
>> provides a web-based interface. You can extract, deploy, and manage the
>> application images from an existing Z or ADCD packages.
>> ZD Parallel Sysplex - can be used to enable a Sysplex environment that
>> is running within z/VM
>>
>> zPDT on the other hand, provide qualified PartnerWorld Independent
>> Software Vendors (ISVs) with z/OS, z/VM, z/VSE and associated middleware
>> products. You need to go through an approval process in order to get it.
>>
>> Sebastian
>>
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>
>---

Re: Mainframe environment on AWS

2019-10-10 Thread Sebastian Welton
Yes there is for both:

zPDT - https://groups.yahoo.com/neo/groups/z1090/info

ZD - 
https://www.ibm.com/developerworks/community/forums/html/forum?id=----2283

Sebastian

On Thu, 10 Oct 2019 17:37:25 +, Lennie Dymoke-Bradshaw 
 wrote:

>Bill,
>
>Is there a support forum for zPDT and/or zD?
>
>Lennie Dymoke-Bradshaw�|�Security Lead�|�RSM Partners Ltd��
>Web:��www.rsmpartners.com
>'Dance like no one is watching. Encrypt like everyone is.'
>
>-Original Message-
>From: IBM Mainframe Discussion List  On Behalf Of 
>Bill Ogden
>Sent: 10 October 2019 15:15
>To: IBM-MAIN@LISTSERV.UA.EDU
>Subject: Re: [IBM-MAIN] Mainframe environment on AWS
>
>> I'm new to z/OS in X86. What's the difference between zPDT and ZD? 
>> The documentation I could find is not clear.
>
>> Looks like something that might be useful in the shop where I'm
>currently
>
>See IBM publication SG24-8205-04 for a detailed discussion. In short, the 
>terms and conditions (and sales plans) are completely different, but the 
>actual emulation program and functions are the same, with very slight 
>differences.  zPDT (for ISVs) includes z/VM and z/VSE, whereas z/VM is an 
>extra feature for zD They use different tokens (IBM types 1090 and 
>1091); software-only licenses are only for zD  Very minor differences.
>
>Unless you are an ISV, a member of the IBM Partnerworld, and eligible for 
>the z Systems developer discount program, your path would be to zD
>
>Bill Ogden
>
>
>--
>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: Mainframe environment on AWS

2019-10-10 Thread Sebastian Welton
They are pretty much the same product, ZD uses zPDT as the underlying 
emulator but depending upon which version you use, has many enhancements to 
provide a DevOps experience. As already pointed out, zPDT is only for ISVs and 
ZD is available to commercial entities but you are bound by the usage which 
tends to be only development, testing and education: from IBM:


It creates an environment for mainframe application demonstration, development, 
testing, and employee education without Z mainframe hardware

ZD cannot be used for production workloads of any kind, nor robust 
development workloads, production module builds, preproduction testing, stress 
testing, or performance testing.


There are 3 versions of ZD:

ZD Personal Edition - this enables a single user to run an IBM® Z 
distribution on a personal computer. 
ZD Enterprise Edition - this enables enterprises to host an IBM Z 
distribution on low-cost Intel-based x86 machines. Enterprise Edition provides 
a web-based interface. You can extract, deploy, and manage the application 
images from an existing Z or ADCD packages. 
ZD Parallel Sysplex - can be used to enable a Sysplex environment that is 
running within z/VM

zPDT on the other hand, provide qualified PartnerWorld Independent Software 
Vendors (ISVs) with z/OS, z/VM, z/VSE and associated middleware products. You 
need to go through an approval process in order to get it.

Sebastian

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


Re: Mainframe environment on AWS

2019-10-09 Thread Sebastian Welton
I've run both zPDT and ZD succcessfully in both AWS and Azure. In fact ZD, 
if not PE (Personal Edition) only works with a remote license server although 
all versions of zPDT and ZD will also work with a remote license server. ZD 
EE (Enterprise Edition) does not allow for the use of a hardware token.

Sebastian.

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


Re: MPF Exit calling System REXX - S0C4 abend

2019-09-06 Thread Sebastian Welton
For some reason, the message being trapped was also defined in EDGRMM with the 
MNTMSG command which if I understand the manual correctly, updates the message 
so presumably it must be intercepting the message at some point to make the 
changes.

Seb.

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


Re: MPF Exit calling System REXX - S0C4 abend

2019-09-06 Thread Sebastian Welton
Thanks to everyone who responded and although he tried out all the options 
provided, nothing actually worked however it looks like it is working now. The 
first step was to implement the original it was based upon from the Redbook and 
that worked fine out of the box. I then looked at what messages he was 
processing via MPF and saw a couple that looked familiar as being used by 
another subsystem which also 'traps' messages. Once I removed the startup of 
the STC and all references to it in PARMLIB (IEFSSN in particular), no more 
abends occurred. So it basically wasn't the fault of the code (apparently he 
has coded MPF exits before, just wanted to try a different method and to use 
System REXX) but the interaction with other subsystems. Personally I could have 
done this with System Automation in a couple of minutes but this is a good 
learning curve for both of us in particular during the investigation. Once 
again, many thanks to everyone who took the time and effort to reply, it was 
much appreciated and did help in furthering our education (particularly me.)

Seb.

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


Re: MPF Exit calling System REXX - S0C4 abend

2019-09-05 Thread Sebastian Welton
Thanks Tom, I agree with all of that which is why he is doing it on what could 
be termed a 'sandbox' system. As I said, I have found the original code by 
searching Google for keywords and it seems to have come from a Redbook: 
http://www.redbooks.ibm.com/abstracts/redp4590.html?Open which was 
written by IBM'ers however this was on a lot older version of z/OS so I've 
asked him to check what differences there are between that version and the one 
he is working on. He should also back out the changes he made and try the 
original code to see if that works on the test system.

Sebastian.

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


Re: MPF Exit calling System REXX - S0C4 abend

2019-09-05 Thread Sebastian Welton
Definitely, see below (formatting is probably stuffed I'm afraid), compiled 
using the standard ASMAC found in PROCLIB (no overriding ASMAOPT or other 
parameters) and link with RENT, INCLUDE(ASMAOBJ) and SETCODE AC(0). I have now 
found out where the original came from and am doing further research on it as 
well, thanks.

Sebastian.

GENMSGTR TITLE 'GENMSGTR' 
GENMSGTR CSECT
GENMSGTR RMODE 31 
GENMSGTR AMODE ANY
R0   EQU   0   REGISTER 0 
R1   EQU   1   REGISTER 1 
R2   EQU   2   REGISTER 2 
R3   EQU   3   REGISTER 3 
R4   EQU   4   REGISTER 4 
R5   EQU   5   REGISTER 5 
R6   EQU   6   REGISTER 6 
R7   EQU   7   REGISTER 7 
R8   EQU   8   REGISTER 8 
R9   EQU   9   REGISTER 9 
R10  EQU   10  REGISTER 10
R11  EQU   11  REGISTER 11
R12  EQU   12  REGISTER 12
R13  EQU   13  REGISTER 13
R14  EQU   14  REGISTER 14
R15  EQU   15  REGISTER 15
 STM   R14,R12,12(R13) SAVE CALLERS REGS  
 USING GENMSGTR,R12ADDRESSABILITY 
 LRR12,R15 SET BASE ADDRESS   
 LRR2,R1   SAVE PARAMETER REGISTER
 L R1,=A(@DSECTE-@DSECT)   CALCULATE STORAGE LENGTH   
 STORAGE OBTAIN,LENGTH=(R1)GET SOME VS  
 STR1,8(,R13)  FORWARD POINTER  
 STR13,4(,R1)  BACKWARD POINTER 
 LRR13,R1  POINT TO SAVE AREA   
 LRR1,R2   RESTORE PARAMETER REGISTER   
 B EYEBALLESKIP CONSTANTS   
EYEBALL  DS0H   
 DCC'=> GENMSGTR D= T= ROB '  
EYEBALLE DS0H   
 USING @DSECT,R13  ADDRESSABILITY   
 SRR11,R11 CLEAR RETURN CODE
*   
 L R9,0(,R1)   POINT TO CTXT
 USING CTXT,R9 ADDRESSABILITY   
 L R8,CTXTTXPN WAS THERE A MESSAGE? 
 LTR   R8,R8   SINGLE OR FIRST LINE WTO?
 BNZ   RETURN  NO - EXIT
 L R8,CTXTTXPJ POINT TO MAJOR   
 USING CTXTATTR,R8 ADDRESSABILITY   
 LAR7,@ARGLST  POINT TO AXREXX ARG LIST 
 USING AXRARGLST,R7ADDRESSABILITY   
 MVI   @ARGLST,X'00'
 MVC   @ARGLST+1(AXRARGLST_LEN),@ARGLST 
 MVC   AXRARGLSTID,=A(AXRARGLSTACRO) MOVE IN EYECATCHER 
 LAR1,AXRARGLSTCURVER  VERSION 0
 STR1,AXRARGLSTVER SAVE VERSION 
 LAR1,1SINGLE ARGUMENT  
 STH   R1,AXRARGLSTNUMBER  SAVE NUMBER OF ARGUMENTS 
 SLR   R1,R1   CLEAR ERROR FLAG 
 STH   R1,AXRARGLSTENTRYINERROR SAVE ERROR FLAG 
 STR1,AXRARGLSTRSV2SAVE RESERVED VALUE  
 LAR6,@ARG1POINT TO ARGUMENT 1  
 USING AXRARGENTRY,R6  ADDRESSABILITY   
 MVI   @ARG1,X'00'  
 MVC   @ARG1+1(AXRARGENTRY_LEN),@ARG1   
 SLR   R1,R1   CLEAR ADDRESS HIGH   
 STR1,AXRARGADDRHIGH   SAVE ADDRESS HIGH
 LAR1,CTXTTMSG POINT TO WTO 
 STR1,AXRARGADDRLOWSAVE ADDRESS  
 LAR1,L'CTXTTMSG   POINT TO LENGTH OF WTO
 STR1,AXRARGLENGTH

MPF Exit calling System REXX - S0C4 abend

2019-09-05 Thread Sebastian Welton
A colleague of mine has been developing an MPF exit which calls System REXX but 
this seems to have thrown up a weird type of error. The program compiles fine, 
is placed in LNKLST, MPFLST is updated and so on however upon the first two 
invocations of the exit a S0C4 with reason code 11 abend occurs but after 
reactivating the exit again, it all works fine. Neither of us is an experienced 
assembler programmer but looking through the code it seems fine: Eventually I 
managed to get a dump which throws up the following information:

Dump Title: 
COMPON=CNZ,COMPID=SC1CK,ISSUER=CNZMIREC,MODULE=CNZS1MPF+1B46CF1A,ABEND=S00C4,REASON=0011

 PIDS/5752SC1CK RIDS/GENMSGTR#L AB/S00C4 PRCS/0011 REGS/0C0DA
 RIDS/CNZMIREC#R
 Symptom Description
 --- ---
 PIDS/5752SC1CK  Program id: 5752SC1CK
 RIDS/ITCAUTOT#L Load module name: GENMSGTR
 AB/S00C4System abend code: 00C4
 PRCS/0011   Abend reason code: 0011
 REGS/0C0DA  Register/PSW difference for R0C: 0DA
 RIDS/CNZMIREC#R Recovery routine csect name: CNZMIREC
 OTHER SERVICEABILITY INFORMATION
 Recovery Routine Label:  CNZMIPCE
 Subfunction: Consoles
 SERVICEABILITY INFORMATION NOT PROVIDED BY THE RECOVERY ROUTINE
 Csect name
 Date Assembled
 Module Level
Time of Error Information
 PSW: 07041000 8000  1ECDE102
  Instruction length: 06   Interrupt code: 0011
  Failing instruction text: 60224110 D088D7D7 10001000
  Translation exception address: _1F701800
  Breaking event address: _1ECDE05E

Basically the MPF exit just traps certain messages which are then passed to a 
System REXX, evaluated and then an action is performed depending upon certain 
criteria so nothing really too complex and as I said, it works once the initial 
2 failures have gone by. We've looked at the CTXT Data Areas and the code looks 
fine in regards to that so we're going on the possibility that the error lies 
elsewhere. Just for information, this is running on z/OS 2.3 but on a ZD 
system (allows him to develop this type of stuff without affecting anyone else) 
with 24GB of memory allocated.

Looking at the S0C4 error code, we also suspect that it is the second problem 
although the program does obtain storage:

•   Page-translation exception. This error is caused by one of the 
following:
o   A program that was running disabled attempted to reference storage 
while that storage was paged out. To correct the error, page-fix the storage 
before a program running disabled attempts to reference it.
o   A program attempted to reference storage that had not been obtained. To 
correct the error, allocate the storage before attempting to reference it.
o   A program running in a subspace attempted to reference storage that was 
not accessible to the subspace at the time of error. To correct the error, 
ensure that the program running in a subspace references only the storage 
assigned to that subspace, or storage that can be referenced by all subspaces.

I'm not too sure where he obtained the initial assembler program from but am 
told that it worked elsewhere and I can post excerpts here if required. Any 
pointers, hints or tips would be gratefully accepted.

Sebastian.

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


Re: [External] Re: Strange FTP issue

2019-07-22 Thread Sebastian Welton
Well you're not going to get any prompts for members to download because you've 
entered 'prompt off'...After you've done the 'cd' command, do a 'dir' to 
actually see that you're in the correct PDS and there are in fact members there 
to download

Sebastian

On Thu, 11 Jul 2019 18:58:32 +0400, Peter  wrote:

>I am doing
>
>
>Cd ..
>Cd 'somethin.pds'
>Prompt off
>Mget *
>200> After this point it doesn't prompts for the members to download.
>
>It just comes out with
>
>FTP>
>
>There is nothing in SYSLOG too
>
>
>On Thu, 11 Jul, 2019, 6:46 PM Pommier, Rex,  wrote:
>
>>
>>
>> Peter,
>>
>> The "200 representation..." message is normal, just telling you that it's
>> going to translate from ebcdic to ascii.  I just tried it and got that
>> message - right before it downloaded the members.
>>
>> What is the sequence of commands you're running?
>>
>> Are you doing a "cd" into the PDS you're trying to download then just
>> doing a "mget *" or are you doing a "mget pds(*)"?
>>
>> Rex
>>
>> > -Original Message-
>> > From: IBM Mainframe Discussion List  On
>> > Behalf Of Peter
>> > Sent: Wednesday, July 10, 2019 10:26 PM
>> > To: IBM-MAIN@LISTSERV.UA.EDU
>> > Subject: Strange FTP issue
>> >
>> > Hi
>> >
>> > I am trying to download some PDS member to submit to vendor.
>> >
>> > I am trying to do ftp via dos and I am able to list the PDS from DOS.
>> > When I do mget * I get a message as '200 representation type is ASCII
>> nonprint'
>> > and after that it is not showing up any member to download and it just
>> > goes to a ftp prompt like FTP>.
>> >
>> > I don't find a error message in lpar SYSLOG too.
>> >
>> > I tried sending file via 3270 emulator and it works but just through
>> > dos it fails
>> >
>> > Any clue where I might be looking ?
>> >
>> > Peter
>> >
>> > --
>> > 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
>>
>>
>> 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
>>
>
>--
>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: Search for utility

2018-09-13 Thread Sebastian Welton
On Wed, 12 Sep 2018 18:52:30 +, McCabe, Ron  
wrote:

>Hello,
>
>Question from our developers...is there an easy way to search for a string in 
>all COBOL programs except for 1 or 2?  So what they would like to do is search 
>for a string in all but 1 or 2 of the COBOL programs in a PDS and they don't 
>want to have to "select" the programs from the list since there are over 400 
>programs in the PDS.
>

Maybe QWIKSCAN on the CBTTAPE might help: CBT603. This allows for IF, AND and 
NOT search along with various other parameters...

Sebastian

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


Re: DASD Utilization Trigger

2018-07-30 Thread Sebastian Welton
Have a look in SYS1.SACBCNTL: 
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.idas200/job.htm

- Create a DASD volume list with the data you require using ACBQBAI4
- Sort the list with ACBQVAR1
- As last step create a REXX to parse the data and output a console message

Sebastian

On Sun, 29 Jul 2018 09:37:55 +0300, saurabh khandelwal 
 wrote:

>Hello Group,
>
>Do we have any free tool available in Mainframe ISMF or any other place to
>track dasd utilization .
>
>Ex . If any of dasd utilization reached more then threshold( Ex. 80%)
>limit, we should get alert on operator console.
>
>--
>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: IBM ZD

2018-01-14 Thread Sebastian Welton
zD (previously RD) is basically just zPDT under the covers with a few more 
additions. zPDT is primarily for ISVs whereas zD is more for your corporate 
world but no production work, just development and testing and even that is 
subject to some quite strict specifications. zD comes in basically 2 
versions, the Personal Edition where each user has their own zD and license 
or via software licensing (which has confused the hell out of me, like all IBM 
software licensing). You can run it on a standalone x86 server, in a 
virtualized environment (which makes it easy to clone images, ala DevOps) and 
in a managed services such as a cloud based system.

It runs all the z operating systems that we all love (not older ones though) 
although z/VM is required for Sysplex operation and has some restrictions. 
There are various options on the amount of processors (zPDT is restricted here) 
and it does support IFLs and ZiiPs, in fact in the latest version of zPDT, the 
ZiiPs are 'free'. There is a wealth of information out there although trying to 
find the wheat from the chaff can be time consuming, the best starting point is 
the zPDT Redbook:

http://www.redbooks.ibm.com/abstracts/sg248205.html?Open

Sebastian

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


Re: Question on WRITE statements in ACS and Automation

2014-10-22 Thread Sebastian Welton
I suspect that this it is possible to trap these messages with System 
Automation 3.4 which has a new function: Joblog Monitoring - Messages produced 
by an application and written to the Joblog or a spooled data set but not 
WTO'ed to syslog can be made available for automation. We use this to monitor 
the job logs of certain STCs where the messages do not go to the SYSLOG, etc 
but are only seen in sysout. Previously we had to use the REXX-SDSF API on a 
timer basis but this has made life a lot easier.

Sebastian

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


Re: How can I find out ITM version in z/OS.

2014-06-05 Thread Sebastian Welton
I tend to look in the RKLVLOG of the CMS and the first message should be 
KLVST045, a bit like the following:

BASIC SERVICES DRIVER: tms_ctbs623fp4:d3203a

which tells me it is version 6.2.3 with fixpack 4 and the driver level. Also 
doing a search for 'Component: kds' in the RKLVLOG will point you to this 
information. If it was installed using ICAT then starting that will also get 
you to this information.

HTH,

Sebastian

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


Re: Executing a remote TSO command or CLIST with FTP?

2014-04-04 Thread Sebastian Welton
I do something similar but do have to use a batch job on the remote system and 
although not XMIT I'm creating a sequential dataset from a PDS and then 
transferring that over and then moving it back to a PDS along with allocating 
new GDGs. I run a REXX in batch on one system which dynamically creates the JCL 
to run on the remote system, I then FTP the data over to the remote system and 
also create a temporary dataset containing this JCL which is run and the output 
sent back to the host system. A rough (very rough) look at my FTP statements 
show:

'type e'   
'mode b'   
'Site pri=120 sec=24 Tracks'   
'Put dataset_unload +'
  'acf_dataset_reload'  
'Site pri=1 sec=1 Tracks'  
'Put 'temp_dsn +'
  'dataset_reload_jcl'
'mode s'   
'Site filetype=jes'
'Locsite lrecl=255'
'get 'dataset_reload_jcl +'
  'dataset_reload_report (REPLACE'
'site filetype=seq'
'mode b'   
'delete 'sa_acf_dataset_reload_jcl'
'Close'
'Quit' 

Oh, and for passwords I use NETRC which is heavily secured! 

Sebastian

On Thu, 3 Apr 2014 14:03:24 -0700, Charles Mills charl...@mcn.org wrote:

Just confirming what I RTFM: there is no way for an FTP client to directly
execute a TSO command on a remote z/OS system - is that right? Is there some
clever hack that I am missing?



This would be real useful, no? The ability - in this case, what I am trying
to do - to upload a TSO XMIT file and then run a RECEIVE on it.



Yes, I know I can run a job on the remote machine and the job could be batch
TSO. I am looking for something a little more straightforward than that.



Thanks,



Charles


--
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: Deleting multiple data sets

2014-02-21 Thread Sebastian Welton
On Fri, 21 Feb 2014 03:16:19 -0600, Elardus Engelbrecht 
elardus.engelbre...@sita.co.za wrote:

Thanks for writing this. I couldn't find it anywhere although I knew it 
existed...It now exists in my list of notes of things not to forget, ever!


Why? Use //D before first DSN and // at last one in =3.4 list. Turn off 
confirmation before that or just at the first DSN.


Sebastian

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


SDSF REXX and stem variables

2013-02-26 Thread Sebastian Welton
I have a need to get how many lines are on the output queue for a certain class 
and couldn't find a JES2 or other command to provide me with this information 
so looked at other avenues. One way is to use SDSF with REXX and the ISFTLINE 
variable will give me this information:

OUTPUT CLS V   ALL FORMSLINES 1,127

This is just what I require but maybe I want to see more classes so the code 
looks like this to get this information:

oclass.1 = 'V'
oclass.2 = 'X'
oclass.0 = 2  
...(other stuff required for SDSF REXX) ...
Do i = 1 To oclass.0 
  output_class = oclass.i
  cmd = 'O'!!output_class
  Address sdsf 'ISFEXEC' cmd 
  Parse Var isftline . . . . . . . lines .   
  Say 'Output class' output_class 'has' lines ,
   'lines of output on the spool.'   
End  

But this doesn't work as when it goes through the second iteration, the stem 
oclass. does not change so it always stays as 'V':

first iteration -

Do i = 1 To oclass.0  
  1 
  2 
 output_class = oclass.i  
   OCLASS.1 
   V
 cmd = 'O'!!output_class  
   O
   V
   OV   
 Address sdsf 'ISFEXEC' cmd   
   ISFEXEC  
   OV   
   ISFEXEC OV   
   
second iteration -

Do i = 1 To oclass.0  
 output_class = oclass.i  
   OCLASS.2 
   V
 cmd = 'O'!!output_class  
   O
   V
   OV   
 Address sdsf 'ISFEXEC' cmd   
   ISFEXEC  
   OV   
   ISFEXEC OV   
   
Is there something special needs to be done with SDSF/REXX as I couldn't see 
anything in the manuals (only for special variables) or am I missing something?

Many thanks

Sebastian.

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


Re: SDSF REXX and stem variables

2013-02-26 Thread Sebastian Welton
Hallo,
   before going into the loop where Address SDSF 'ISFEXEC' is issued the 
stems are fine, oclass.1 is 'V' and oclass.2 is 'X'. However after doing the 
call to SDSF, oclass.2 is 'V' which is wrong. Also, after the whole loop is 
ended and I check both stems, they are both 'V' so it looks like something to 
do with the call to SDSF...

(The other stuff in the REXX is just the ISFCALLS and error checking)

Sebastian

On Tue, 26 Feb 2013 13:09:31 +0100, Miklos Szigetvari 
miklos.szigetv...@isis-papyrus.com wrote:

 Hi

Works for me, what about the other stuff?
Seems oclass.2 is V here.
Are you sure the stem is correct before the loop ?
On 26.02.2013 12:57, Sebastian Welton wrote:
 I have a need to get how many lines are on the output queue for a certain 
 class and couldn't find a JES2 or other command to provide me with this 
 information so looked at other avenues. One way is to use SDSF with REXX and 
 the ISFTLINE variable will give me this information:

 OUTPUT CLS V   ALL FORMSLINES 1,127

 This is just what I require but maybe I want to see more classes so the code 
 looks like this to get this information:

 oclass.1 = 'V'
 oclass.2 = 'X'
 oclass.0 = 2
 ...(other stuff required for SDSF REXX) ...
 Do i = 1 To oclass.0
output_class = oclass.i
cmd = 'O'!!output_class
Address sdsf 'ISFEXEC' cmd
Parse Var isftline . . . . . . . lines .
Say 'Output class' output_class 'has' lines ,
 'lines of output on the spool.'
 End

 But this doesn't work as when it goes through the second iteration, the stem 
 oclass. does not change so it always stays as 'V':

 first iteration -

 Do i = 1 To oclass.0
1
2
   output_class = oclass.i
 OCLASS.1
 V
   cmd = 'O'!!output_class
 O
 V
 OV
   Address sdsf 'ISFEXEC' cmd
 ISFEXEC
 OV
 ISFEXEC OV

 second iteration -

 Do i = 1 To oclass.0
   output_class = oclass.i
 OCLASS.2
 V
   cmd = 'O'!!output_class
 O
 V
 OV
   Address sdsf 'ISFEXEC' cmd
 ISFEXEC
 OV
 ISFEXEC OV

 Is there something special needs to be done with SDSF/REXX as I couldn't see 
 anything in the manuals (only for special variables) or am I missing 
 something?

 Many thanks

 Sebastian.

 --
 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: SDSF REXX and stem variables

2013-02-26 Thread Sebastian Welton
A bit embarressed but after a couple of days fiddling with it, ithe problem is 
now resolved. Changing the oclass.n stem variable name to o_class.n did the 
trick. Its probably because oclass, although not a special SDSF/REXX variable 
as such, is in fact a column name in SDSF which you would use if performing 
other tasks with SDSF/REXX and somewhere along the line it didn't like me using 
that...

Sebastian

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


Re: Nigel's utility issue

2013-01-09 Thread Sebastian Welton
It may be:

C:\Program Files\

Quite a few programs don't like the space in a directory name. Try it in 
another directory, i.e. C:\racf

Sebastian

On Wed, 9 Jan 2013 13:17:40 +0530, saurabh khandelwal 
sourabhkhandelwal...@gmail.com wrote:

Hello,

  I am trying to setup Nigel�s RACF tool but getting below issues.
To resolve this issue, I created  racfdd and racfcert subdirectory
under C:\Program
Files\racf path. But still issue is same.
I also created PROD and DEV directory and copied racf.ini file from
C:\Program Files\racf\examples\ini path and modified
input_file=C:\Program Files\racf\DEV\racfdev
output_jcl_file=C:\Program Files\racf\DEV\JCL
output_text_file=C:\Program Files\racf\DEV\Text


C:\Program Files\racfracf05
*

WARNING = racf.ini specifies a drill down subdirectory of 'racfdd'
  which is invalid, please check directory exists and is accessible

*
*

WARNING = racf.ini specifies a certificate subdirectory of 'racfcert'
  which is invalid, please check directory exists and is accessible

*
Validating unload file racfdev...
Date of unload file = Wed Dec 26 14:44:29 2012

Error: Unable to open / create file racf05.jcl


But not sure, what else I am missing it. Can you please help me to resolve
this issue.


-- 
Thanks  Regards
Saurabh Khandelwal

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