Transferring source files to/from MVS

Since I like to develop MVS programs locally (on Linux)…for my purposes I find it easier to use a IBM utilitiy to move PDS members to/from the mainframe. As a former VM/VSE systems programmer with no great desire to be a MVS systems programmer, this might be a good way to run jobs on a handicapped system as it doesn’t rely on FTP and hence networking to be up. You could still submit/run jobs if VTAM and/or TSO was down. You could retrieve important configuration files from MVS, make needed changes. then submit them to MVS.

Getting MVS PDS members to my local host

I use IEBPTPCH to punch PDS members to my local Hercules punch subdirectory, where I can retrieve them. Use the “MEMBER NAME=name” parameter of IEBPTPCH for a specific member…or omit it for ALL members. Hercules punches these files to /pch/pch00d.txt. If you request ALL members (by omitting the “MEMBER NAME=name” parameter) then each member is prefixed with MEMBER NAME name. Otherwise it punches a individual member without a leading, MEMBER NAME name.

In keeping with my Python parsejob program, I wrote a another PYTHON program that parses these members out individually. Unlike some text editors it doesn’t choke on “special characters”! Because it opens the punch file read only, using it also helps you avoid the possibility of inadvertently changing and hence corrupting the punch file

Copying my local host source files to a MVS PDS

I use IEBUPDTE to copy local source files to a MVS PDS…if desired The DD JCL statement defines the PDS, the IEBUPDTE parameters would look something like this:

//SYSPRINT DD SYSOUT=*
//SYSIN DD DATA
./ ADD LIST=ALL,NAME=SORT01
followed by the source file
and ending with…
./ ENDUP

Made YouTube video public

Well I finally made my “Using Virtual Tapes to transfer data to MVS on Hercules” public. I think it may be of use. Moshix did cover Virtual Tapes at one point, but all his data transfer videos seemed to focus on 80 column data, specifically PDS members. I think mine is different enough to add something of value to the discussion. My focus was getting a lot of actual customer data/records to MVS.

Install latest Manjaro

Basically I had to because of the stupid Giant electron update, that I couldn’t do. Otherwise my system would always say it needs to be updated. This ISO was smaller than the last one, but didn’t include an office suite. Hot corners still don’t work!

OBS video size shrinking trick

Don’t know what made me try this but I did and the reduction in file size was substantial. It involves using ffmpeg to simply copy the input file to a new output.

For example a mp4 that was around 15min that was 296.5Mb reduced to 79.1Mb by simply typing
ffmpeg -i obs.mp4 out.mp4.

Mic clip suprise

Made a few YouTube vids lately, using OBS Studio and Kdenlive. Holding the mic and talking and typing for me is like walking and chewing gum at the same time. So I had a decent mike…I didn’t buy. I have this mike stand…I didn’t buy. It would really be handy if I could use that stand. Except the mic clip (I had to look these terms up) was too small to hold the mic. So if I just could get the proper clip it might really help. And I’m cheap. I’m really cheap when it comes to investing in something creative. Because I’m not! So I looked on Amazon, maybe the cheapest around $7. But I’d really like to work on this one video now, and really didn’t want to wait on Amazon. So I called around locally, and the first place I called said they had one. Told me to bring the mic to try before I buy.. Great I’ll just go there. Except I didn’t ask the cost. It’s a small place it’ll probably be $15 or more. When I got there, the girl was nice and the clip fit perfectly. So how much was it? With tax, a little over $4.

The stand is a old heavy floor stand. I had attached a shop light to it and had been using it as a standing floor lamp. If I put the stand and mic in front of me it’s kinda in the way. So I just put it to the side of me for a test. It worked great! So all of a sudden it sounds like I’m trying to be Mr YouTube video guy…I’m not. Not dedicated enough to do it regularly. It was just a video about something that was important to me, that I got working and I hadn’t seen a video on this topic anywhere. I also didn’t find any written tutorial about it. I ‘m more excited about doing all this on Linux with open source software. I don’t have MS-Windows or a Mac so not much choice there. I previously had made a video about Julia and thought I took it down because it had become obsolete. Surprised to find it had over 500 views. I made it using all text instructions.

I greatly favor videos where there is voice instruction. I don’t like my voice but I think a lot of people don’t like theirs either. Also I have a lot of sinus problems, often a lot of sniffing and throat clearing, Anyway I just decided to make it the way I like them. So that’s what made me want to use a mike.

Manjaro electron update

Tried this again! After running and downloading for over an hour, had to cancel because Manjaro complained that root only had ~120MB left.

And it had already downloaded 7GB, before I finally canceled it. To top it off, I have no idea how much more it had to go…no progress bar. Also as I said before it was supposed to be in the build stage, the download stage was long over. Now it’s quite possible that much of this was source files that might have been deleted at the end of the build. IDK! This is one reason this newbie (that has used Linux since the mid 1990s) sticks with Linux Mint. The whole Manjaro distro ISO was only 3.2GB. WTH?

I guess I’ll just have to install the latest ISO again.

Making YouTube videos

Made YouTube videos about Hercules MVS mainframe coding locally. Made them for myself posted privately, but may make them Public.

Have another in mind. Using virtual tapes to load large amounts of data into MVS. Both of these topics were personally important to me! I’ll do Mainframe emulation for a while then stop long enough to forget my workflow and the little details.

Nervous update

Manjaro said it had one update…Electron! So I started it, not paying that much attention to it. Did notice a download phase. Then noticed it was in a build phase. Seemed like it should have been done in maybe 5 minutes.
…still building
looked at my network monitor and something was downloading something?
Maybe some tab in Firefox was downloading? Shutdown Firefox
…still downloading
…still building
Let run another 10 minutes
…still downloading
…still building
At the build phase after the download phase, shouldn’t downloads be finished?
At this point it seems as if it downloaded enough MBs or possibably GBs as the distribution itself. I’ve updated hundreds of programs using pacman and it’s taken less time than this!
There were some other dependencies but still it seemed to me an unreasonable amount of time, especially when the download phase supposedly was finished. I mean really…it’s one program. What was going on? If I was familiar with Wireshark or some other networking tool I probably could have found out. It didn’t have a progress bar just a stupid bar that went right then left, then right then left…and so on.
Anyway, I’m probably overly paranoid but it made me nervous and I finally canceled it. It probably had 20 sec to go!