Re: Which JES2 control block contains the SDSF DSDATE/JOBCRDATE fields?

2020-11-09 Thread Robin Atwood
You want either the IAZSSST or IAZSSS2 dsects depending if you are going the 
extended status (STAT) or SAPI (SSS2) route. It's not for the faint-hearted but 
the dsects contain much embedded doc.

HTH
Robin 

> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Al Loeffler
> Sent: 10 November 2020 05:39
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Which JES2 control block contains the SDSF DSDATE/JOBCRDATE
> fields?
> 
> The SDSF H and O panels display a creation date and time for each output
> DDNAME in a job when a '?" is typed in the NP column. The SDSF User's
> Guide gives the column name as DSDATE with a width of 10 and says that the
> installation can change the CRDATE column to 19, so that the date and time is
> included. There is also a column called JOBCRDATE that has a width of 19.
> 
> The $PDDB contains a creation time (PDBCRTME), but no creation date
> (according to the JES2 Data Areas manual). I've searched SYS1.SHASMAC and
> the JES2 Data Areas manual for any date fields, but haven't found any.
> 
> Does anyone know which JES2 control block contains this information?
> 
> Regards,
> 
> Al Loeffler
> 
> --
> 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


question about dataspace scope=all and Yes I read extended addressability pages 124 - 129 a few times

2020-11-09 Thread Joseph Reichman
Hi 

 

If I create a dataspace scope=all in SRB mode my TCBTOEKN points ASCBXTCB do
I have to put on the access list if I wont reference in the address space
that is was created

 

In Addition I am not quite sure ADDPASN does Initially I thought that if I
added the stoken to PASN of that address space that it was created in.

 

I could use that ALET in the address space I would like to reference with
ADDPASN 

 

Still  had problems until ALESERN PASN in the address space it was created
in and ALERSERV in the address space I reference it in with AL=WORKUNIT

 

thanks   


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


Re: Learning shell scripting

2020-11-09 Thread Frank Swarbrick
I just found this:

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxa400/shs.htm
Writing z/OS shell 
scripts
To simplify such jobs, the shell lets you run a sequence of commands that have 
been stored in a text file. For example, the programmer could store all the 
appropriate compiling and linking commands in a file.
www.ibm.com




From: IBM Mainframe Discussion List  on behalf of 
Frank Swarbrick 
Sent: Monday, November 9, 2020 2:24 PM
To: IBM-MAIN@LISTSERV.UA.EDU 
Subject: Re: Learning shell scripting

No particular goal in mind.  Just learning.
I already know REXX fairly well.
Thanks.


From: IBM Mainframe Discussion List  on behalf of 
Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu>
Sent: Monday, November 9, 2020 2:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU 
Subject: Re: Learning shell scripting

On Mon, 9 Nov 2020 20:48:23 +, Frank Swarbrick wrote:

>While I've used Unix/Linux systems on and off for over 30 years, I've never 
>really taken the time to learn shell scripting.  For a z/OS environment are 
>there any highly recommended tutorials and/or references?
>
Largely, I glanced at examples and read man pages.  I never went
down a path such as "Shell for dummies".  I think I became competent.

I also recommend z/OS Using REXX and z/OS UNIX System Services
SA23-2283-40

Not shell, but enormously useful.  Much of the power of the standard
"C" library with the ease of coding Rexx.

What's your goal; what would be your first practical/demo shell
(or Rexx) program?

In my earliest encounter with UNIX (Solaris) I was impressed by the
significance of the "Uni" prefix; the ability to use a single language
for terminal commands, scripting, and batch; as opposed to TSO,
CLIST, Rexx, JCL, ...

And the *uni*formity of shell's lexical analysis.  Granted there are
some commands you'd like to be peculiar; I find this outweighed
by "everything works the same."  Except for outliers such as
"dd" (needlessly -- I suspect it was invented by an OS/360
partisan) and "find" (with better reason -- it's command line is
somewhat like you'd expect of a DFSORT control flle).

What's your goal?

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

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


Re: Value of PSW program MASK in an attached sub-task

2020-11-09 Thread Attila Fogarasi
LE will do that, based on the language profile of the attached modules (and
ORs the mask bits together if there are multiple languages).  You can call
CEE3SPM to set the program mask yourself.  Even if you think you aren't
using LE, something you call could be creating an LE environment.

On Tue, Nov 10, 2020 at 9:53 AM Thomas David Rivers 
wrote:

> I seem to have a situation where the program mask for my attached
> sub-task is getting all the bits set (indicating, for example, the receipt
> of, say, FIXED-POINT OVERFLOW) when the parent task does not
> have those set.
>
> Does anyone know what determines the setting of the program mask
> for the ATTACH'd task?   And/or how to indicate "set the mask to whatever
> was true for the parent at the time of the ATTACH".
>
> Trying to track down this mysterious setting of all the mask bits, and
> I'm wondering if there is some ATTACH magic I need to be aware of.
>
> - Thanks! -
>- Dave Rivers -
>
> --
> riv...@dignus.comWork: (919) 676-0847
> Get your mainframe programming tools at http://www.dignus.com
>
> --
> 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


Value of PSW program MASK in an attached sub-task

2020-11-09 Thread Thomas David Rivers

I seem to have a situation where the program mask for my attached
sub-task is getting all the bits set (indicating, for example, the receipt
of, say, FIXED-POINT OVERFLOW) when the parent task does not
have those set.

Does anyone know what determines the setting of the program mask
for the ATTACH'd task?   And/or how to indicate "set the mask to whatever
was true for the parent at the time of the ATTACH".

Trying to track down this mysterious setting of all the mask bits, and
I'm wondering if there is some ATTACH magic I need to be aware of.

   - Thanks! -
  - Dave Rivers -

--
riv...@dignus.comWork: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com

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


Which JES2 control block contains the SDSF DSDATE/JOBCRDATE fields?

2020-11-09 Thread Al Loeffler
The SDSF H and O panels display a creation date and time for each output DDNAME 
in a job when a '?" is typed in the NP column. The SDSF User's Guide gives the 
column name as DSDATE with a width of 10 and says that the installation can 
change the CRDATE column to 19, so that the date and time is included. There is 
also a column called JOBCRDATE that has a width of 19.

The $PDDB contains a creation time (PDBCRTME), but no creation date (according 
to the JES2 Data Areas manual). I've searched SYS1.SHASMAC and the JES2 Data 
Areas manual for any date fields, but haven't found any.

Does anyone know which JES2 control block contains this information?

Regards,

Al Loeffler

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


Re: Learning shell scripting

2020-11-09 Thread Demetrios Dimatos
As you know, USS commands are ported so sometimes they don't correspond to 
their *nix ancestors. So, reference this often:
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxa500/toc.htm

When I was getting started many yrs ago in kernel development I always enjoyed 
"Unix Power Tools" , there are many versions of it out there, not sure legally 
hosted or not so I will leave those PDFs searches up to you (I still have a 
hard copy of the book).

I do find much overlap with USS and *nix concepts.

https://www.oreilly.com/library/view/unix-power-tools/0596003307/

Along the lines of shell scripting, look into Z Open Automation Utilities to 
enhance your scripts to do even more MVS functions beyond what USS supports.
https://www.ibm.com/support/knowledgecenter/SSKFYE

And if you are like me, you will find shell scripting now replaced with Ansible 
Playbooks (I can do so much more and so much quicker).
https://ibm.github.io/z_ansible_collections_doc/index.html#

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


Re: Learning shell scripting

2020-11-09 Thread Frank Swarbrick
No particular goal in mind.  Just learning.
I already know REXX fairly well.
Thanks.


From: IBM Mainframe Discussion List  on behalf of 
Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu>
Sent: Monday, November 9, 2020 2:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU 
Subject: Re: Learning shell scripting

On Mon, 9 Nov 2020 20:48:23 +, Frank Swarbrick wrote:

>While I've used Unix/Linux systems on and off for over 30 years, I've never 
>really taken the time to learn shell scripting.  For a z/OS environment are 
>there any highly recommended tutorials and/or references?
>
Largely, I glanced at examples and read man pages.  I never went
down a path such as "Shell for dummies".  I think I became competent.

I also recommend z/OS Using REXX and z/OS UNIX System Services
SA23-2283-40

Not shell, but enormously useful.  Much of the power of the standard
"C" library with the ease of coding Rexx.

What's your goal; what would be your first practical/demo shell
(or Rexx) program?

In my earliest encounter with UNIX (Solaris) I was impressed by the
significance of the "Uni" prefix; the ability to use a single language
for terminal commands, scripting, and batch; as opposed to TSO,
CLIST, Rexx, JCL, ...

And the *uni*formity of shell's lexical analysis.  Granted there are
some commands you'd like to be peculiar; I find this outweighed
by "everything works the same."  Except for outliers such as
"dd" (needlessly -- I suspect it was invented by an OS/360
partisan) and "find" (with better reason -- it's command line is
somewhat like you'd expect of a DFSORT control flle).

What's your goal?

-- 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: Learning shell scripting

2020-11-09 Thread Demetrios Dimatos
As you know, USS commands are ported so sometimes they don't correspond to 
their *nix ancestors. So, reference this often:
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxa500/toc.htm

When I was getting started many yrs ago in kernel development I always enjoyed 
"Unix Power Tools" , there are many versions of it out there, not sure legally 
hosted or not so I will leave those PDFs searches up to you (I still have a 
hard copy of the book).

I do find much overlap with USS and *nix concepts.

https://www.oreilly.com/library/view/unix-power-tools/0596003307/

Along the lines of shell scripting, look into Z Open Automation Utilities to 
enhance your scripts to do even more MVS functions beyond what USS supports. 
https://www.ibm.com/support/knowledgecenter/SSKFYE

And if you are like me, you will find shell scripting has been replaced by 
Ansible Playbooks (I can do so much more and so much quicker).
https://ibm.github.io/z_ansible_collections_doc/index.html#

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


Re: Learning shell scripting

2020-11-09 Thread Paul Gilmartin
On Mon, 9 Nov 2020 20:48:23 +, Frank Swarbrick wrote:

>While I've used Unix/Linux systems on and off for over 30 years, I've never 
>really taken the time to learn shell scripting.  For a z/OS environment are 
>there any highly recommended tutorials and/or references?
>
Largely, I glanced at examples and read man pages.  I never went
down a path such as "Shell for dummies".  I think I became competent.

I also recommend z/OS Using REXX and z/OS UNIX System Services
SA23-2283-40

Not shell, but enormously useful.  Much of the power of the standard
"C" library with the ease of coding Rexx.

What's your goal; what would be your first practical/demo shell
(or Rexx) program?

In my earliest encounter with UNIX (Solaris) I was impressed by the
significance of the "Uni" prefix; the ability to use a single language
for terminal commands, scripting, and batch; as opposed to TSO,
CLIST, Rexx, JCL, ...

And the *uni*formity of shell's lexical analysis.  Granted there are
some commands you'd like to be peculiar; I find this outweighed
by "everything works the same."  Except for outliers such as
"dd" (needlessly -- I suspect it was invented by an OS/360
partisan) and "find" (with better reason -- it's command line is
somewhat like you'd expect of a DFSORT control flle).

What's your goal?

-- gil

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


Learning shell scripting

2020-11-09 Thread Frank Swarbrick
While I've used Unix/Linux systems on and off for over 30 years, I've never 
really taken the time to learn shell scripting.  For a z/OS environment are 
there any highly recommended tutorials and/or references?

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


Re: JES2 message $HASP375 Estimate exceeded

2020-11-09 Thread Mark Jacobs
Look at your jes2parm for what the limits are set at. I've seen messages for 
lines exceeded and later KBYTES in the same job log once that limit was 
reached. I assume that pages are specifically meant for fully composed AFP data 
and lines for line mode data.

Mark Jacobs

Sent from ProtonMail, Swiss-based encrypted email.

GPG Public Key - 
https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com

‐‐‐ Original Message ‐‐‐

On Monday, November 9th, 2020 at 1:55 PM, Jesse 1 Robinson 
 wrote:

> We've had some cases of a job taking over the spool. In researching a 
> solution, we've noticed that message $HASP375 varies in ways we don't 
> understand. Doc for the message looks like this:
>
> > --jobname--ESTIMATE EXCEEDED BY--nnn--+-LINES--+--->
>
>+-CARDS--+
>+-KBYTES-+
>'-PAGES--'
>
>
> > --+-+-><
>
> '-xxx--%SPOOL-'
>
> We don't understand why the overage is sometimes reported as Lines, Cards, 
> Kbytes, or Pages. Why does JES2 pick one descriptor or another?
>
> .
>
> .
>
> J.O.Skip Robinson
>
> Southern California Edison Company
>
> Electric Dragon Team Paddler
>
> SHARE MVS Program Co-Manager
>
> 323-715-0595 Mobile
>
> 626-543-6132 Office <= NEW
>
> robinsj2@sce.commailto:robin...@sce.com
>
> --
>
> 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


JES2 message $HASP375 Estimate exceeded

2020-11-09 Thread Jesse 1 Robinson
We've had some cases of a job taking over the spool. In researching a solution, 
we've noticed that message $HASP375 varies in ways we don't understand. Doc for 
the message looks like this:

>--jobname--ESTIMATE EXCEEDED BY--nnn--+-LINES--+--->
   +-CARDS--+
   +-KBYTES-+
   '-PAGES--'

>--+-+-><
   '-xxx--%SPOOL-'

We don't understand why the overage is sometimes reported as Lines, Cards, 
Kbytes, or Pages. Why does JES2 pick one descriptor or another?


.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office <= NEW
robin...@sce.com


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


ISPF stats flag x'40' ?

2020-11-09 Thread Kirk Wolf
This is documented in ISP.SISPMACS(ISPDSTAT) as "Reserved for ISPF", but
I've seen this in in the wild.   Does anyone know what this flag is (or
was) used for?

ISPFLAGS DSX   Flag byte
ISPSCLM  EQU   X'80'   Stats created by SCLM
**EQU   X'40'   Reserved for ISPF *
ISPESTAT EQU   X'20'   Extended statistics
*EQU   X'10'   Reserved for ISPF
*EQU   X'08'   Reserved for ISPF
*EQU   X'04'   Reserved for ISPF
*EQU   X'02'   Reserved for ISPF
*EQU   X'01'   Reserved

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