Re: VBS file read in windows - end of record issue

2023-05-16 Thread Prashant Joshi
Hello Paul, "ignores 0D0A" means it treat is as any other data. And by "line break" I mean end of line/record and so next record will start from new line. Thank you, Prashant Joshi -Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Tuesday, May 1

Re: VBS file read in windows - end of record issue

2023-05-16 Thread Prashant Joshi
Michael Stein, You are right. Thank very much for pointing to the mistake. I was trying to read file using "with open as". This way I was expecting to pull single record at every iteration of loop. With your suggestion, I opened entire file in memory and read each record based on record leng

Re: VBS file read in windows - end of record issue

2023-05-16 Thread Paul Gilmartin
On Tue, 16 May 2023 09:03:56 +, Prashant Joshi wrote: > >I was trying to read file using "with open as". This way I was expecting to >pull single record at every iteration of loop. >With your suggestion, I opened entire file in memory and read each record >based on record length in RDW. Now

Re: Listing empty HLQs - LISTCAT?

2023-05-16 Thread Bob Bridges
Mike, you've succinctly restated my goal in English. What I'm asking is how to achieve the goal in LISTCATese. In the end I followed the advice of a few others, and did the LISTCAT twice, once with ENT then again with LEV; that tells me about the alias AND any datasets. Since this was a clean

Re: Listing empty HLQs - LISTCAT?

2023-05-16 Thread Al Ferguson
Mike, Another solution might be to use a REXX EXEC that is in CBT FILE960, called LISTDS (or maybe LISTDSI). It uses the Catalog Search Interface, and depending on the options it can look for Files and Aliases at the same time. The CSI takes various parameters, documented in the help section, t

Re: Listing empty HLQs - LISTCAT?

2023-05-16 Thread David Spiegel
Hi Al, "...You need to run through VTOC entries to find any datasets that may be uncatalogued  ..." For Uncatalogued Datasets, you can use: - DCOLLECT by VOLSER )with masking) - VTOC CP (CBT File 112) with masking. (If you want JCL samples, please PM me). Regards, David On 2023-05-16 09:45,

Re: Listing empty HLQs - LISTCAT?

2023-05-16 Thread Al Ferguson
David, Yes DCOLLECT uses the DASD VTOCs vs the Catalog. Have scanned that as well to verify no uncatalogued DSNs. Ultimately, I converted all our uncatalogued DSNs (and old JOBs) to use cataloged DSNs and disallowed uncatalogued ones. The shop was a JES3 shop (and had been using it from the beg

Digitally signed product software packages from IBM

2023-05-16 Thread Kurt J. Quackenbush
As of today, all IBM product orders initiated from Shopz will be digitally signed using SMP/E's GIMZIP package signing capability. This includes both Portable Software Instance (ServerPac) and CBPDO orders. The signed packages are completely compatible with exiting acquisition and download pro

Re: Digitally signed product software packages from IBM

2023-05-16 Thread Rick Troth
This is great! Thanks! I don't know anything about GIMZIP, but suspect it does its own thing. (And not clear from Marna's blog that it uses standards.) That's fine. Y'all should *also* sign bundled (in one file) packages with PGP and PKI, as those are recognized standards which most customers

Re: VBS file read in windows - end of record issue

2023-05-16 Thread John McKown
In one of my C programs, I first read the RDW, did a ntohs() to convert from mainframe to Intel integer, subtracted 4, then read that number of bytes into a char[32768]. On Tue, May 16, 2023 at 7:46 AM Paul Gilmartin < 042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On Tue, 16 May 2023 0

Questions on zOWE

2023-05-16 Thread Lizette Koehler
List - Are there any user groups for zOWE? I am just now working on configuring it and have lots of questions Thanks Lizette -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@l

Re: Questions on zOWE

2023-05-16 Thread Lionel B. Dyck
The Open Mainframe Project(OMP)has a Slack space where there are several channels related to ZOWE - check it out at https://join.slack.com/t/openmainframeproject/shared_invite/zt-1vamme4te-d5v SzrhPpiomXY9tjc6iRA Hope this helps Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: htt

Re: Questions on zOWE

2023-05-16 Thread Lizette Koehler
Nice thought Slack This link is no longer active If you have an email address ending in @linuxfoundation.org, @phoenixsoftware.com, @contractor.linuxfoundation.org, or @virtualzcomputing.com, you can join this workspace using that address. Otherwise, you’ll need to ask for a new link. -Origi

Re: VBS file read in windows - end of record issue

2023-05-16 Thread Paul Gilmartin
On Tue, 16 May 2023 11:06:59 -0500, John McKown wrote: >In one of my C programs, I first read the RDW, did a ntohs() to convert >from mainframe to Intel integer, subtracted 4, then read that number of >bytes into a char[32768]. > I'm Python-naive. But trying to educate myself with the example,

Re: Questions on zOWE

2023-05-16 Thread Lionel B. Dyck
Try this https://openmainframeproject.slack.com/join/shared_invite/zt-1uzshiu5s-rJDCg 34ToycSo7z4aaV1Mw#/shared-invite/email Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck “Worry more about your character than your reputation. Character is what you ar

Re: VBS file read in windows - end of record issue

2023-05-16 Thread Seymour J Metz
The code with open('workfile', encoding="utf-8") as f: read_data = f.read() is for reading text and you would normally be concerned with the character count. Try with open('workfile', "rb") as f: read_data = f.read() From: IBM Mai

Re: Questions on zOWE

2023-05-16 Thread Lance D. Jackson
The link is valid Lizette - it's just that it wrapped. Try this one: https://openmainframeproject.slack.com/join/shared_invite/zt-1vamme4te-d5vSz rhPpiomXY9tjc6iRA#/shared-invite/email -Original Message- From: IBM Mainframe Discussion List On Behalf Of Lizette Koehler Sent: Tuesda

Re: Questions on zOWE

2023-05-16 Thread Matt Hogstrom
I just went through the install locally of 2.8 to get the “current experience”. Security is generally the most complicated. If you care to share the experience / have questions DM me. I’m making documentation updates to improve the process. Matt Hogstrom m...@hogstrom.org +1-919-656-0564 PGP

Re: VBS file read in windows - end of record issue

2023-05-16 Thread Michael Oujesky
Just another tidbit, but when combining the record segments, while the VBS architecture does not specify a maximum record length, you can expect the full records to be up to 16,777,215 (16384K - 1) bytes in length. Realizing that the RDW is actually a SDW. Michael At 01:26 AM 5/16/2023, Mich

Re: Digitally signed product software packages from IBM

2023-05-16 Thread Paul Gilmartin
On Tue, 16 May 2023 15:38:36 +, Kurt J. Quackenbush wrote: >... if you want to exploit the new capability and verify the digital > signatures check out the information here: >https://www.ibm.com/docs/en/zos/2.5.0?topic=guide-preparing-verify-signatures-gimzip-packages > >You can also read

Re: Digitally signed product software packages from IBM

2023-05-16 Thread Kurt J. Quackenbush
> Y'all should *also* sign bundled (in one file) packages with PGP and PKI, as > those are recognized standards which most customers have already in-hand. GIMZIP package signing is implemented using public/private key technology (aka, PKI); a private key is used to generate a digital signature f

Re: Digitally signed product software packages from IBM

2023-05-16 Thread Kurt J. Quackenbush
>> IBM packages for PTFs and HOLDDATA are currently not yet being signed, but >> they will be later this year. Stay tuned. >> > At e.g. , I > see: > "Verified by DigiCert." Is that adequate? Securing the download may very well be a

Re: Digitally signed product software packages from IBM

2023-05-16 Thread Charles Mills
Correct me if I am wrong, but my impression is that signing the package protects (among other things) against the scenario in which one of your associates, who let us assume is a bad guy, makes a zap-type modification to the package after you download it and before you install it, thereby compr

Re: VBS file read in windows - end of record issue

2023-05-16 Thread Michael Stein
On Tue, May 16, 2023 at 11:23:46AM -0500, Paul Gilmartin wrote: > On Tue, 16 May 2023 11:06:59 -0500, John McKown wrote: > > >In one of my C programs, I first read the RDW, did a ntohs() to convert > >from mainframe to Intel integer, subtracted 4, then read that number of > >bytes into a char[3276

Re: Digitally signed product software packages from IBM

2023-05-16 Thread Paul Gilmartin
On Tue, 16 May 2023 13:04:44 -0500, Charles Mills wrote: >Correct me if I am wrong, but my impression is that signing the package >protects (among other things) against the scenario in which one of your >associates, who let us assume is a bad guy, makes a zap-type modification to >the package a

Re: VBS file read in windows - end of record issue

2023-05-16 Thread Paul Gilmartin
On Tue, 16 May 2023 11:26:06 -0700, Michael Stein wrote: > >read can be supplied with an operand saying the maximum amount to >read: read(4) to read 4 bytes. It might read less either because > So: "read_data = f.read( ntohs( SDW ) - 4 )" >it reached the end of the input file or because the inpu

Re: VBS file read in windows - end of record issue

2023-05-16 Thread Farley, Peter
No SELECT per se, but python does have an "asyncio" module that I believe accomplishes that task. Haven't had occasion to use it myself so far, but I know it exists. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Tuesday, May 16, 2023 2

Re: Digitally signed product software packages from IBM

2023-05-16 Thread Charles Mills
>If the signature is stored alongside the GIMZIP they could simply alter both. Yep, they could, but they would have about a one in a zillion chance of doing so successfully. You would need the private key of the signer to get it right. The digital signature is a hash of the software, encrypted w

Re: Questions on zOWE

2023-05-16 Thread Bruce Hewson
Hello Lizette, Same here. some things I have learned (since our environment is still primitive):- 1. must have JAVA path set correctly. 2. must have node.js PATH set 3. use bash 4. trying to debug a zowe.yaml file (2.7) without access to VSCODE is impossible. (Had to open case wqith IBM to resol