AW: Re: JCL System symbols

2017-05-11 Thread Peter Hunkeler
> In the future, I encourage you to take the time to help yourself and
presumably others by sending an appropriate email to the ID folks to ask
for / suggest updates.



Peter, I very much appreciate your effort. I know about the RCF process, and I 
have submitted quite some.


If often heard that the ID people were discussing my suggestion with the lab 
people, and then the doc was updated. So I assume it is less overhead if people 
like you can straight away tell what and how to change the doc. I will 
nevertheless continue to submit RCFs. ä



--
Peter Hunkeler



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


Re: JCL System symbols

2017-05-11 Thread Peter Relson

I suspect this is a consequence of a simple-minded symbol resolution
facility that can't detect or report a buffer overrun when the length
of a symbol's value exceeds the length of its name.


The symbol substitution service (ASASYMBM) is indeed quite simple-minded. 
The choice to truncate in a case where substitution would otherwise have 
overrun the input buffer was a conscious one, to avoid burdening thousands 
of programs with "what do I do if truncation did happen (or would have 
happened)?". 

But yes, that is why the symbols were deprecated.

As of z/OS 2.2, we now support symbols that have longer values than the 
length of the name, but with a naming protocol that lets it visually be 
seen that such a symbol is being used (symbol name ends with underscore). 
The silent truncation still happens. But at least the user of the symbol 
has an easy way of seeing that they are taking on the risk of such 
truncation. 

Peter Relson
z/OS Core Technology Design


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


Re: JCL System symbols

2017-05-10 Thread Paul Gilmartin
On Wed, 10 May 2017 13:43:33 -0400, Peter Relson wrote:

>>The table still shows the, at least on z/OS V 2.1 and 
>>up, invalid symbols  and 
>
>Those symbols are not fully "invalid". They are available to IBM-code 
>symbol substituters that choose to allow them. The DUMPDS command 
>processing is such a substituter (I think the only intended one).  The 
>table should mention that (and similarly for , ). Given that 
>they are deprecated, they could certainly be moved out of the table into a 
>separate section.
> 
I suspect this is a consequence of a simple-minded symbol resolution
facility that can't detect or report a buffer overrun when the length
of a symbol's value exceeds the length of its name.

-- gil

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


Re: JCL System symbols

2017-05-10 Thread Peter Relson
>The table still shows the, at least on z/OS V 2.1 and 
>up, invalid symbols  and 

Those symbols are not fully "invalid". They are available to IBM-code 
symbol substituters that choose to allow them. The DUMPDS command 
processing is such a substituter (I think the only intended one).  The 
table should mention that (and similarly for , ). Given that 
they are deprecated, they could certainly be moved out of the table into a 
separate section.

>And all the local date/time related symbols are only 
>mentioned in the explanation of other symbols

I have submitted a request to update to have the deprecated symbols put in 
a separate area, and add the "local time" symbols included as their own 
entries, not only as reference from the "UTC time" symbols.

In the future, I encourage you to take the time to help yourself and 
presumably others by sending an appropriate email to the ID folks to ask 
for / suggest updates. 

Peter Relson
z/OS Core Technology Deign


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


Re: JCL System symbols

2017-05-09 Thread Johnson, Timothy@CIO
-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Peter Hunkeler
Sent: Saturday, May 06, 2017 11:06 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: AW: Re: JCL System symbols

 
> My earlier post did not consider dynamic system symbols. There is an 
> excellent chart at
 
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fsupport%2Fknowledgecenter%2Fen%2FSSLTBW_2.2.0%2Fcom.ibm.zos.v2r2.ieae200%Fdynpsm.htm=02%7C01%7CTimothy.Johnson%40STATE.CA.GOV%7C3e73d953f08f4b45043908d494aaa950%7C52b26be47f5d4e1cbaed8cf75b7570d5%7C1%7C07C636296908099559181=NL0uYqX5MA8ig2JU%2FjZS2QL85aRFO5ku%2B4pHRwU95vE%3D=0





Excellent looks different to me! The table still shows the, at least on z/OS V 
2.1 and up, invalid symbols  and  And all the local date/time 
related symbols are only mentioned in the explanation of other symbols. Rubbish.


--
Peter Hunkeler

 




--
Peter Hunkeler 

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


AW: Re: JCL System symbols

2017-05-06 Thread Peter Hunkeler

> My earlier post did not consider dynamic system symbols. There is an 
> excellent chart at

> https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieae200/dynpsm.htm




Excellent looks different to me! The table still shows the, at least on z/OS V 
2.1 and up, invalid symbols  and  And all the local date/time 
related symbols are only mentioned in the explanation of other symbols. Rubbish.


--
Peter Hunkeler






--
Peter Hunkeler

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


Re: JCL System symbols

2017-05-05 Thread Edward Gould
> ——SNIP--
> Only concern would be users creating datasets with DATE/TIME entries and 
> there is no cleanup. 
> 
> So you could have a user create 365 Date datasets * hhmmss entries and then 
> not have a process to DELETE the things no longer needed. 
> 
> I will use the inappropriate term - ga-zillions of datasets in your DASD 
> Volumes and no clean up. 

I would agree the problem is that users (and management) think DASD is an 
unlimited resource. Hey there is a cloud out there and its BIG.

Ed
> 
> 
> 
> Lizette 
> 
> 
>> -Original Message- 
>> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
>> Behalf Of Carmen Vitullo 
>> Sent: Friday, May 05, 2017 8:17 AM 
>> To: IBM-MAIN@LISTSERV.UA.EDU 
>> Subject: Re: JCL System symbols 
>> 
>> Strange mindset, afraid of change - I don't see any concern or auditing 
>> issues. 
>> Been slow to change that status quo - I'm trying :) 
>> 
>> 
>> Carmen 
>> 
>> 
>> - Original Message - 
>> 
>> From: "Paul Gilmartin" <000433f07816-dmarc-requ...@listserv.ua.edu> 
>> To: IBM-MAIN@LISTSERV.UA.EDU 
>> Sent: Friday, May 5, 2017 10:12:08 AM 
>> Subject: Re: JCL System symbols 
>> 
>> On Fri, 5 May 2017 10:00:12 -0400, Carmen Vitullo wrote: 
>> 
>>> Good point, sorry to make the assumption , for the most part we 
>>> DISALLOW systems symbols in batch 
>>> 
>> Why? Cui bono? Is there a performance or security concern? 
>> 
>> -- 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 
> 
> 
> --
> 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: JCL System symbols

2017-05-05 Thread Gibney, Dave
Which is what DFHSM and MGMCLAS's with expriation controls set are for.

> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On Behalf Of Lizette Koehler
> Sent: Friday, May 05, 2017 9:06 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
> 
> Only concern would be users creating datasets with DATE/TIME entries and
> there is no cleanup.
> 
> So you could have a user create 365 Date datasets * hhmmss entries and
> then not have a process to DELETE the things no longer needed.
> 
> I will use the inappropriate term - ga-zillions of  datasets in your DASD
> Volumes and no clean up.
> 
> 
> 
> Lizette
> 
> 
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > On Behalf Of Carmen Vitullo
> > Sent: Friday, May 05, 2017 8:17 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: JCL System symbols
> >
> > Strange mindset, afraid of change - I don't see any concern or
> > auditing issues.
> > Been slow to change that status quo - I'm trying :)
> >
> >
> > Carmen
> >
> >
> > - Original Message -
> >
> > From: "Paul Gilmartin"
> > <000433f07816-dmarc-requ...@listserv.ua.edu>
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Sent: Friday, May 5, 2017 10:12:08 AM
> > Subject: Re: JCL System symbols
> >
> > On Fri, 5 May 2017 10:00:12 -0400, Carmen Vitullo wrote:
> >
> > >Good point, sorry to make the assumption , for the most part we
> > >DISALLOW systems symbols in batch
> > >
> > Why? Cui bono? Is there a performance or security concern?
> >
> > -- 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

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


Re: JCL System symbols

2017-05-05 Thread Lizette Koehler
If a user has to do an EXPORT, SET SYMBOL=xxx

That takes effort

If they can code //DDLBL  DD DSN=D   Then much less effort.

And the other concerns presented are still true

   1) Where is the JCL converted
   2) Is the JCL converted on the submitting system or a different system?
   3) How is the JCL Converted
   4) Are the symbols in the system where the JCL is converted?
   5) When the job is submitted it will convert the symbolic with the time of 
the conversion, but if it runs much later (hours) then the dataset name will 
not necessarily reflect when it was actually created.  Example, JOBA is 
submitted at 00 but is on Hold.  It is later released at 02.  The DSN 
would be D  User will assume the dataset was created at 
Midnight and not 02am when the job actually ran.


I think the bottom line is people very familiar with the converter, symbol 
usage, and how things work will not have issues with the process.  End users 
not as familiar will be creating lots of datasets with expectations that might 
not be valid.  And even though we can migrate off datasets not used, what 
process will "know" when that file is no longer needed by the application and 
then can be deleted.

I think on the open system/midrange/server (not mainframe server) side are used 
to adding Dates and Times to files with the expectation it is the actual date 
and time the file was created.

I do not know if they have a clean-up process once those files are no longer 
needed.

Lizette






> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Steve Smith
> Sent: Friday, May 05, 2017 9:37 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
> 
> @Lizette: If that's your only concern, then you have no concerns.  There's no
> connection between JCL symbols and users creating lots of datasets.
> 
> What I do is use an IEBEDIT (IEBGENER also fine) job to submit the actual job
> from //SYSUT1 DD DATA,SYMBOLS=EXECSYS to the INTRDR.  Voila, full symbol
> support.  And there's not a damn thing you can do about it.  :-)
> 
> sas
> 
> On Fri, May 5, 2017 at 12:06 PM, Lizette Koehler <stars...@mindspring.com>
> wrote:
> 
> > Only concern would be users creating datasets with DATE/TIME entries
> > and there is no cleanup.
> >
> > So you could have a user create 365 Date datasets * hhmmss entries and
> > then not have a process to DELETE the things no longer needed.
> >
> > I will use the inappropriate term - ga-zillions of  datasets in your
> > DASD Volumes and no clean up.
> >
> >
> >
> > Lizette
> >

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


Re: JCL System symbols

2017-05-05 Thread Paul Gilmartin
On 2017-05-05, at 10:05, Jesse 1 Robinson wrote:

> IBM's reluctance to provide system symbol support in *batch* is well 
> motivated. From the beginning of system symbols, they were honored only in 
> STC and TSU. In batch they were ignored. The problem with batch is that a 
> number of key factors affecting symbols are unpredictable. So when and how 
> would a symbol be set?
> 
> At submit time?
> At conversion time?
> At NJE transmission time?
> At execution time?
>  
Make it an option; give the programmer control.

> ...
> What if a system symbol happens to clash with an existing JCL or PROC 
> variable?
>  
And here, we have the horrible, irreparable design error in JCL
syntax.  Reference to an undefined symbol should have *always*
been a syntax error.

Otherwise, JCL or PROC variables should dominate system symbols.

There should be a construct to restrict scope of symbols defined
in JCLLIB members so they don't clash with symbols in open code.

I hate JCL!

-- gil

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


Re: JCL System symbols

2017-05-05 Thread Carmen Vitullo
Agree, for me, being a storage admin in a previous life I had the Storage admin 
here add migration rules to migrate these datasets that have not been 
referenced in 10 days. 




Carmen 




From: "Lizette Koehler" <stars...@mindspring.com> 
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Friday, May 5, 2017 11:06:20 AM 
Subject: Re: JCL System symbols 

Only concern would be users creating datasets with DATE/TIME entries and there 
is no cleanup. 

So you could have a user create 365 Date datasets * hhmmss entries and then not 
have a process to DELETE the things no longer needed. 

I will use the inappropriate term - ga-zillions of datasets in your DASD 
Volumes and no clean up. 



Lizette 


> -Original Message- 
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
> Behalf Of Carmen Vitullo 
> Sent: Friday, May 05, 2017 8:17 AM 
> To: IBM-MAIN@LISTSERV.UA.EDU 
> Subject: Re: JCL System symbols 
> 
> Strange mindset, afraid of change - I don't see any concern or auditing 
> issues. 
> Been slow to change that status quo - I'm trying :) 
> 
> 
> Carmen 
> 
> 
> - Original Message - 
> 
> From: "Paul Gilmartin" <000433f07816-dmarc-requ...@listserv.ua.edu> 
> To: IBM-MAIN@LISTSERV.UA.EDU 
> Sent: Friday, May 5, 2017 10:12:08 AM 
> Subject: Re: JCL System symbols 
> 
> On Fri, 5 May 2017 10:00:12 -0400, Carmen Vitullo wrote: 
> 
> >Good point, sorry to make the assumption , for the most part we 
> >DISALLOW systems symbols in batch 
> > 
> Why? Cui bono? Is there a performance or security concern? 
> 
> -- 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 


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


Re: JCL System symbols

2017-05-05 Thread Dale R. Smith
The REXX MVSVAR function with the 'SYMDEF' parameter will display the Static 
and Dynamic System Symbols assigned to your system.  No special authority 
required!  You have to supply the Symbol Name to extract.  Here is a REXX 
program to extract and display the currently defined, (at least as of z/OS 
V2.2), Static and Dynamic Symbols.  If you have inhouse defined Static Symbols, 
(as we do), then modify the "inhouse" variable in SYMDEF REXX to include your 
inhouse defined symbols.  If you do not have any inhouse symbols, then set the 
"inhouse" variable to null:  inhouse = ''

/*--- SYMDEF REXX */
/* Extract MVS Static and Dynamic Symbols and Display their Values.   */
/**/
SYMDEF: 
   Parse Source . ctype ename etype emode . system subsys . 
   static  = 'SYSALVL SYSCLONE SYSNAME SYSOSLVL SYSPLEX SYSR1'  
   inhouse = 'SYSR2 SYSCLON1 PLEX TSID CSID IMSP IMST'  
   dynamic = 'DS JOBNAME SEQ'   
   utctime = 'YYMMDD  HHMMSS  YR4  YR2  MON  DAY  HR  MIN  SEC ',   
 'WDAY  JDAY'   
   lcltime = 'LYYMMDD LHHMMSS LYR4 LYR2 LMON LDAY LHR LMIN LSEC',   
 'LWDAY LJDAY'  

   Say 'MVS Static  System Symbols...'  
   Do n = 1 to Words(static)
  symbol = Word(static,n)   
  Say Left(symbol,8) '=' MVSVar('SYMDEF',symbol)
   End /* Do n = 1 to Words(static) */  

   If inhouse \= '' Then
  Do
 Say ' '
 Say 'MVS Static  System Symbols...(Inhouse)'   
 Do n = 1 to Words(inhouse) 
symbol = Word(inhouse,n)
Say Left(symbol,8) '=' MVSVar('SYMDEF',symbol)  
 End /* Do n = 1 to Words(inhouse) */   
  End   

   Say ' '  
   Say 'MVS Dynamic System Symbols...(Non Date/Time)'   
   Do n = 1 to Words(dynamic)   
  symbol = Word(dynamic,n)  
  Say Left(symbol,8) '=' MVSVar('SYMDEF',symbol)
   End /* Do n = 1 to Words(dynamic) */ 

   Say ' '  
   Say 'MVS Dynamic System Symbols...(UTC Timezone)'
   Do n = 1 to Words(utctime)   
  symbol = Word(utctime,n)  
  Say Left(symbol,8) '=' MVSVar('SYMDEF',symbol)
   End /* Do n = 1 to Words(utctime) */ 

   Say ' '  
   Say 'MVS Dynamic System Symbols...(Local Timezone)'  
   Do n = 1 to Words(lcltime)   
  symbol = Word(lcltime,n)  
  Say Left(symbol,8) '=' MVSVar('SYMDEF',symbol)
   End /* Do n = 1 to Words(lcltime) */ 

   Exit 0   

-- 
Dale R. Smith

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


Re: JCL System symbols

2017-05-05 Thread Jesse 1 Robinson
My earlier post did not consider dynamic system symbols. There is an excellent 
chart at 

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieae200/dynpsm.htm

listing (I suppose all) supported dynamic symbols in z/OS V2R2. Most are date 
related. Some of these symbols have changed over the years, but I think they 
are valid in V1R13. You can test these symbols in Rexx with this function: 
MVSVAR("symbol-name") . This function does not require any special authority. 

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


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Lizette Koehler
Sent: Friday, May 05, 2017 9:06 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: JCL System symbols

Only concern would be users creating datasets with DATE/TIME entries and there 
is no cleanup.

So you could have a user create 365 Date datasets * hhmmss entries and then not 
have a process to DELETE the things no longer needed.

I will use the inappropriate term - ga-zillions of  datasets in your DASD 
Volumes and no clean up.



Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] 
> On Behalf Of Carmen Vitullo
> Sent: Friday, May 05, 2017 8:17 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
> 
> Strange mindset, afraid of change - I don't see any concern or 
> auditing issues.
> Been slow to change that status quo - I'm trying :)
> 
> 
> Carmen
> 
> 
> - Original Message -
> 
> From: "Paul Gilmartin" 
> <000433f07816-dmarc-requ...@listserv.ua.edu>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 10:12:08 AM
> Subject: Re: JCL System symbols
> 
> On Fri, 5 May 2017 10:00:12 -0400, Carmen Vitullo wrote:
> 
> >Good point, sorry to make the assumption , for the most part we 
> >DISALLOW systems symbols in batch
> >
> Why? Cui bono? Is there a performance or security concern?
> 
> -- 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


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


Re: JCL System symbols

2017-05-05 Thread Steve Smith
@Lizette: If that's your only concern, then you have no concerns.  There's
no connection between JCL symbols and users creating lots of datasets.

What I do is use an IEBEDIT (IEBGENER also fine) job to submit the actual
job from //SYSUT1 DD DATA,SYMBOLS=EXECSYS to the INTRDR.  Voila, full
symbol support.  And there's not a damn thing you can do about it.  :-)

sas

On Fri, May 5, 2017 at 12:06 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> Only concern would be users creating datasets with DATE/TIME entries and
> there is no cleanup.
>
> So you could have a user create 365 Date datasets * hhmmss entries and
> then not have a process to DELETE the things no longer needed.
>
> I will use the inappropriate term - ga-zillions of  datasets in your DASD
> Volumes and no clean up.
>
>
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of Carmen Vitullo
> > Sent: Friday, May 05, 2017 8:17 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: JCL System symbols
> >
> > Strange mindset, afraid of change - I don't see any concern or auditing
> > issues.
> > Been slow to change that status quo - I'm trying :)
> >
> >
> > Carmen
> >
> >
> > - Original Message -
> >
> > From: "Paul Gilmartin" <000433f07816-dmarc-requ...@listserv.ua.edu>
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Sent: Friday, May 5, 2017 10:12:08 AM
> > Subject: Re: JCL System symbols
> >
> > On Fri, 5 May 2017 10:00:12 -0400, Carmen Vitullo wrote:
> >
> > >Good point, sorry to make the assumption , for the most part we
> > >DISALLOW systems symbols in batch
> > >
> > Why? Cui bono? Is there a performance or security concern?
> >
> > -- 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
>



-- 
sas

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


Re: JCL System symbols

2017-05-05 Thread Steve Smith
Seems to me that they could have just added the "SYMBOLS=" keyword to JOB
and PROC like they did for DD *.  Making it an option specified only in
JESPARMs is pretty non-optimal.

sas

On Fri, May 5, 2017 at 12:07 PM, Nims,Alva John (Al) <ajn...@ufl.edu> wrote:

> I am still running z/OS 1.13 and the MVS "DISPLAY SYMBOLS" will only
> display "Static" system symbols, it does not show what dynamic symbols are
> available
>
> Same with TASID & SHOWZOS, they only show the "Static" symbols.  FYI:
> IPLINFO from Mark Zelden, only shows Static.
>
> Don't know MXI.
>
> Al Nims
> Systems Admin/Programmer 3
> UFIT
> University of Florida
> (352) 273-1298
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Richards, Robert B.
> Sent: Friday, May 05, 2017 10:28 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
>
> TASID, MXI, SHOWZOS
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Farley, Peter x23353
> Sent: Friday, May 05, 2017 10:25 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
>
> Just out of curiosity, is there a way for those of us without console
> authority to get the current list of symbols on the system?
>
> I tried the SDSF SYM command suggested earlier, but SDSFAUX is not running
> on our system so it fails.
>
> If it matters, we are z/OS 2.1 here.
>
> Peter
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Carmen Vitullo
> Sent: Friday, May 05, 2017 9:55 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
>
> just now reading the rest of you response, sorry A.D.D. kicking in I think
> I found what I needed searching for using symbols in JCL and brought me to
> the KB, to see what system symbols are available on your system MVS command
> 'D SYMBOLS'
>
> Carmen
>
> - Original Message -
>
> From: "Bill Ashton" <bill00ash...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 8:50:17 AM
> Subject: Re: JCL System symbols
>
> Carmen, that's just what I need - thanks so much!
>
> On a related note, is there a way to find out all the system symbols, so I
> don't have to keep asking one-off questions here?
>
> Thanks!
> B
>
> On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net>
> wrote:
>
> > Bill I have a proc that starts @ IPL time to copy parmlib datasets to
> > a backup using date time
> >
> >
> > i use this
> 
> > - Original Message -
> >
> > From: "Bill Ashton" <bill00ash...@gmail.com>
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Sent: Friday, May 5, 2017 8:38:50 AM
> > Subject: JCL System symbols
> >
> > Hi again...I have searched, and must be looking for the wrong thing,
> > so I hope you can help me.
> >
> > Is there a system symbol I can use in my DSN that has the current date
> > in it? I understand the implications of cross-date boundaries, etc.,
> > and am looking to try something using the date in my dataset name.
> >
> > Also, do I need to export the symbol if it is a system symbol, or can
> > I use it in JCL and control cards without the export?
> >
> > Thanks again, and have a great, sunny weekend!
> >
> > --
> > Thank you and best regards,
> > *Billy Ashton*
> >
> --
>
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, please notify us immediately by
> e-mail and delete the message and any attachments from your system.
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> 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
>



-- 
sas

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


Re: JCL System symbols

2017-05-05 Thread Richards, Robert B.
My bad.

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Nims,Alva John (Al)
Sent: Friday, May 05, 2017 12:08 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

I am still running z/OS 1.13 and the MVS "DISPLAY SYMBOLS" will only display 
"Static" system symbols, it does not show what dynamic symbols are available

Same with TASID & SHOWZOS, they only show the "Static" symbols.  FYI: IPLINFO 
from Mark Zelden, only shows Static.

Don't know MXI.

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Richards, Robert B.
Sent: Friday, May 05, 2017 10:28 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

TASID, MXI, SHOWZOS

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Farley, Peter x23353
Sent: Friday, May 05, 2017 10:25 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

Just out of curiosity, is there a way for those of us without console authority 
to get the current list of symbols on the system?

I tried the SDSF SYM command suggested earlier, but SDSFAUX is not running on 
our system so it fails.

If it matters, we are z/OS 2.1 here.

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Carmen Vitullo
Sent: Friday, May 05, 2017 9:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

just now reading the rest of you response, sorry A.D.D. kicking in I think I 
found what I needed searching for using symbols in JCL and brought me to the 
KB, to see what system symbols are available on your system MVS command 'D 
SYMBOLS' 

Carmen 

- Original Message -

From: "Bill Ashton" <bill00ash...@gmail.com>
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Friday, May 5, 2017 8:50:17 AM
Subject: Re: JCL System symbols 

Carmen, that's just what I need - thanks so much! 

On a related note, is there a way to find out all the system symbols, so I 
don't have to keep asking one-off questions here? 

Thanks! 
B 

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote: 

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to 
> a backup using date time
> 
> 
> i use this
 
> - Original Message -
> 
> From: "Bill Ashton" <bill00ash...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 8:38:50 AM
> Subject: JCL System symbols
> 
> Hi again...I have searched, and must be looking for the wrong thing, 
> so I hope you can help me.
> 
> Is there a system symbol I can use in my DSN that has the current date 
> in it? I understand the implications of cross-date boundaries, etc., 
> and am looking to try something using the date in my dataset name.
> 
> Also, do I need to export the symbol if it is a system symbol, or can 
> I use it in JCL and control cards without the export?
> 
> Thanks again, and have a great, sunny weekend! 
> 
> --
> Thank you and best regards,
> *Billy Ashton*
> 
--


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


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

--
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: JCL System symbols

2017-05-05 Thread Nims,Alva John (Al)
I am still running z/OS 1.13 and the MVS "DISPLAY SYMBOLS" will only display 
"Static" system symbols, it does not show what dynamic symbols are available

Same with TASID & SHOWZOS, they only show the "Static" symbols.  FYI: IPLINFO 
from Mark Zelden, only shows Static.

Don't know MXI.

Al Nims
Systems Admin/Programmer 3
UFIT
University of Florida
(352) 273-1298

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Richards, Robert B.
Sent: Friday, May 05, 2017 10:28 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

TASID, MXI, SHOWZOS

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Farley, Peter x23353
Sent: Friday, May 05, 2017 10:25 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

Just out of curiosity, is there a way for those of us without console authority 
to get the current list of symbols on the system?

I tried the SDSF SYM command suggested earlier, but SDSFAUX is not running on 
our system so it fails.

If it matters, we are z/OS 2.1 here.

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Carmen Vitullo
Sent: Friday, May 05, 2017 9:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

just now reading the rest of you response, sorry A.D.D. kicking in I think I 
found what I needed searching for using symbols in JCL and brought me to the 
KB, to see what system symbols are available on your system MVS command 'D 
SYMBOLS' 

Carmen 

- Original Message -

From: "Bill Ashton" <bill00ash...@gmail.com>
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Friday, May 5, 2017 8:50:17 AM
Subject: Re: JCL System symbols 

Carmen, that's just what I need - thanks so much! 

On a related note, is there a way to find out all the system symbols, so I 
don't have to keep asking one-off questions here? 

Thanks! 
B 

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote: 

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to 
> a backup using date time
> 
> 
> i use this
 
> - Original Message -
> 
> From: "Bill Ashton" <bill00ash...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 8:38:50 AM
> Subject: JCL System symbols
> 
> Hi again...I have searched, and must be looking for the wrong thing, 
> so I hope you can help me.
> 
> Is there a system symbol I can use in my DSN that has the current date 
> in it? I understand the implications of cross-date boundaries, etc., 
> and am looking to try something using the date in my dataset name.
> 
> Also, do I need to export the symbol if it is a system symbol, or can 
> I use it in JCL and control cards without the export?
> 
> Thanks again, and have a great, sunny weekend! 
> 
> --
> Thank you and best regards,
> *Billy Ashton*
> 
--


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


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

--
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: JCL System symbols

2017-05-05 Thread Lizette Koehler
Only concern would be users creating datasets with DATE/TIME entries and there 
is no cleanup.

So you could have a user create 365 Date datasets * hhmmss entries and then not 
have a process to DELETE the things no longer needed.

I will use the inappropriate term - ga-zillions of  datasets in your DASD 
Volumes and no clean up.



Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Carmen Vitullo
> Sent: Friday, May 05, 2017 8:17 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
> 
> Strange mindset, afraid of change - I don't see any concern or auditing
> issues.
> Been slow to change that status quo - I'm trying :)
> 
> 
> Carmen
> 
> 
> - Original Message -
> 
> From: "Paul Gilmartin" <000433f07816-dmarc-requ...@listserv.ua.edu>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 10:12:08 AM
> Subject: Re: JCL System symbols
> 
> On Fri, 5 May 2017 10:00:12 -0400, Carmen Vitullo wrote:
> 
> >Good point, sorry to make the assumption , for the most part we
> >DISALLOW systems symbols in batch
> >
> Why? Cui bono? Is there a performance or security concern?
> 
> -- 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: JCL System symbols

2017-05-05 Thread Jesse 1 Robinson
IBM's reluctance to provide system symbol support in *batch* is well motivated. 
From the beginning of system symbols, they were honored only in STC and TSU. In 
batch they were ignored. The problem with batch is that a number of key factors 
affecting symbols are unpredictable. So when and how would a symbol be set?

At submit time?
At conversion time?
At NJE transmission time?
At execution time?

For STC or TSU, there is no variability. I participated in free-for-all 
discussions at SHARE on how symbols might be implemented in batch. Strong 
opinions were all over the map. Finally IBM relented and provided support for 
symbols in batch with a set of rules that are well documented, like them or 
not. Besides the variabilities above, there is also this:

What if a system symbol happens to clash with an existing JCL or PROC variable?

Even most installations could not predict this problem. When symbols are 
ignored, user variables can be almost anything. With symbols honored, all sorts 
of crazy results are possible. Hence a shop has to take specific action to 
honor system symbols in batch. Caveat emptor. 


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


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Carmen Vitullo
Sent: Friday, May 05, 2017 8:17 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: JCL System symbols

Strange mindset, afraid of change - I don't see any concern or auditing issues. 
Been slow to change that status quo - I'm trying :) 


Carmen 


- Original Message -

From: "Paul Gilmartin" <000433f07816-dmarc-requ...@listserv.ua.edu>
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Friday, May 5, 2017 10:12:08 AM
Subject: Re: JCL System symbols 

On Fri, 5 May 2017 10:00:12 -0400, Carmen Vitullo wrote: 

>Good point, sorry to make the assumption , for the most part we 
>DISALLOW systems symbols in batch
> 
Why? Cui bono? Is there a performance or security concern? 

-- gil 


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


Re: JCL System symbols

2017-05-05 Thread Sri h Kolusu
Bill Ashton,

Just in case if your shop has SYSSYM=DISALLOW for the jobclass you 
running, here is an alternative of getting the desired results.

//STEP0100 EXEC PGM=EZACFSM1 
//SYSOUT   DD DSN=&,DISP=(,PASS),SPACE=(TRK,(1,1),RLSE) 
//SYSINDD DATA,DLM=@@ 
  ALLOC  DSNAME('ASHTON.D')   - 
 NEW CATALOG - 
 DSORG(PS)   - 
 LRECL(80)   - 
 RECFM(F B)  - 
 BLKSIZE(27920)  - 
 SPACE(5,5)  - 
 CYLINDERS 
@@ 
//* 
//STEP0200 EXEC PGM=IDCAMS 
//SYSPRINT DD SYSOUT=* 
//SYSINDD DISP=SHR,DSN=& 
//* 

>>On a related note, is there a way to find out all the system symbols, so 
I 
don't have to keep asking one-off questions here?

The dynamic system symbols are explained here 

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieae200/dynpsm.htm

And you can run the following job to display them all (Anything that is 
not converted is a symbol that is not configured)

//STEP0100 EXEC PGM=EZACFSM1 
//SYSOUT   DD SYSOUT=* 
//SYSINDD * 
CURRENT LOCAL YYMMDDIS  :  
CURRENT LOCAL DAY   IS  :  
CURRENT DUMP DSNIS  :  
CURRENT LOCAL TIME  IS  :  
CURRENT LOCAL HOUR  IS  :  
CURRENT LOCALJULIAN DAY OF YEAR IS  :  
CURRENT LOCAL JOBNAME   IS  :  
CURRENT LOCAL MINUTEIS  :  
CURRENT LOCAL MONTH IS  :  
CURRENT LOCAL SECONDS   IS  :  
CURRENT SEQUENCE NUMBER IS  :  
CURRENT LOCAL DAY OF THE WEEK   IS  :  
CURRENT LOCAL 4 DIGIT YEAR  IS  :  
CURRENT LOCAL 2 DIGIT YEAR  IS  :  
//*


Thanks,
Kolusu



From:   Bill Ashton <bill00ash...@gmail.com>
To: IBM-MAIN@LISTSERV.UA.EDU
Date:   05/05/2017 06:50 AM
Subject:    Re: JCL System symbols
Sent by:IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU>



Carmen, that's just what I need - thanks so much!

On a related note, is there a way to find out all the system symbols, so I
don't have to keep asking one-off questions here?

Thanks!
B

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> 
wrote:

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to a
> backup using date time
>
>
> i use this
>
>
>
> //CLEAN EXEC PGM=IDCAMS,
> //SYSPRINT DD SYSOUT=*
> //SYSIN DD *,SYMBOLS=EXECSYS <
> DEL 'ATTS.PROD.'
> /*
> //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO',
> // DYNAMNBR=99,ACCT=(S,0602,0599)
> //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR
> //SYSTSPRT DD DSN=ATTS.PROD.,DISP=(,CATLG),
> // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE),
> // RECFM=FBA,LRECL=134,BLKSIZE=0
> //SYSTSIN DD DUMMY
> //*
> //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10
> //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB
> //SYSUT2 DD DISP=(,CATLG),
> // DSN=ATTS.PROD.SYSC.D,
> // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE)
> //SYSIN DD DUMMY
> - Original Message -
>
> From: "Bill Ashton" <bill00ash...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 8:38:50 AM
> Subject: JCL System symbols
>
> Hi again...I have searched, and must be looking for the wrong thing, so 
I
> hope you can help me.
>
> Is there a system symbol I can use in my DSN that has the current date 
in
> it? I understand the implications of cross-date boundaries, etc., and am
> looking to try something using the date in my dataset name.
>
> Also, do I need to export the symbol if it is a system symbol, or can I 
use
> it in JCL and control cards without the export?
>
> Thanks again, and have a great, sunny weekend!
>
> --
> Thank you and best regards,
> *Billy Ashton*
>
> --
> 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
>



-- 
Thank you and best regards,
*Billy Ashton*

--
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: JCL System symbols

2017-05-05 Thread Jesse 1 Robinson
The OS command D SYMBOLS will display all system symbols including those 
defined by the installation. If you don't have console authority, I'm not sure 
how to get that display. ;-( 

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

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Bill Ashton
Sent: Friday, May 05, 2017 6:50 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: JCL System symbols

Carmen, that's just what I need - thanks so much!

On a related note, is there a way to find out all the system symbols, so I 
don't have to keep asking one-off questions here?

Thanks!
B

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote:

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to 
> a backup using date time
>
>
> i use this
>
>
>
> //CLEAN EXEC PGM=IDCAMS,
> //SYSPRINT DD SYSOUT=*
> //SYSIN DD *,SYMBOLS=EXECSYS < DEL 
> 'ATTS.PROD.'
> /*
> //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO',
> // DYNAMNBR=99,ACCT=(S,0602,0599)
> //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR //SYSTSPRT DD 
> DSN=ATTS.PROD.,DISP=(,CATLG),
> // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE),
> // RECFM=FBA,LRECL=134,BLKSIZE=0
> //SYSTSIN DD DUMMY
> //*
> //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10
> //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB
> //SYSUT2 DD DISP=(,CATLG),
> // DSN=ATTS.PROD.SYSC.D,
> // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE)
> //SYSIN DD DUMMY
> - Original Message -
>
> From: "Bill Ashton" <bill00ash...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 8:38:50 AM
> Subject: JCL System symbols
>
> Hi again...I have searched, and must be looking for the wrong thing, 
> so I hope you can help me.
>
> Is there a system symbol I can use in my DSN that has the current date 
> in it? I understand the implications of cross-date boundaries, etc., 
> and am looking to try something using the date in my dataset name.
>
> Also, do I need to export the symbol if it is a system symbol, or can 
> I use it in JCL and control cards without the export?
>
> Thanks again, and have a great, sunny weekend!
>
> --
> Thank you and best regards,
> *Billy Ashton*
>

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


Re: JCL System symbols

2017-05-05 Thread Carmen Vitullo
Strange mindset, afraid of change - I don't see any concern or auditing issues. 
Been slow to change that status quo - I'm trying :) 


Carmen 


- Original Message -

From: "Paul Gilmartin" <000433f07816-dmarc-requ...@listserv.ua.edu> 
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Friday, May 5, 2017 10:12:08 AM 
Subject: Re: JCL System symbols 

On Fri, 5 May 2017 10:00:12 -0400, Carmen Vitullo wrote: 

>Good point, sorry to make the assumption , for the most part we DISALLOW 
>systems symbols in batch 
> 
Why? Cui bono? Is there a performance or security concern? 

-- 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: JCL System symbols

2017-05-05 Thread Paul Gilmartin
On Fri, 5 May 2017 10:00:12 -0400, Carmen Vitullo  wrote:

>Good point, sorry to make the assumption , for the most part we DISALLOW 
>systems symbols in batch
>
Why?  Cui bono?  Is there a performance or security concern?

-- gil

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


Re: JCL System symbols

2017-05-05 Thread Carmen Vitullo
Good point, sorry to make the assumption , for the most part we DISALLOW 
systems symbols in batch 
from the SDSF JC display  




COMMAND INPUT ===> SCROLL ===> PAGE 
PREFIX=* DEST=(ALL) OWNER=* SYSNAME= 
NP CLASS v JesLog XBMProc DupJob JobRC Active SysSym DsEnqShr 
A (NOSPIN) NO MAXRC YES DISALLOW ALLOW 
B (NOSPIN) NO MAXRC YES DISALLOW ALLOW 
C (NOSPIN) NO MAXRC YES DISALLOW ALLOW 
D (NOSPIN) NO MAXRC YES DISALLOW ALLOW 
E (NOSPIN) NO MAXRC YES DISALLOW ALLOW 




Carmen 

- Original Message -

From: "Lizette Koehler" <stars...@mindspring.com> 
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Friday, May 5, 2017 8:56:32 AM 
Subject: Re: JCL System symbols 

For system symbols - make sure you have the ability to create them. They are 
documented in the MVS INIT and Tuning 
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieae200/dynpsm.htm
 


Make sure on the JES2 JOBCLASS definition in JES2 you verify how this is coded 
SYSSYM whether it is allowed or disallowed. 

Specifies whether system symbols are substituted in batch jobs that are 
submitted in this JOBCLASS. Symbols are substituted when the job is processed 
by the z/OS converter using the system symbols that are set on the system where 
the conversion occurs. 


Lizette 


> -Original Message- 
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
> Behalf Of Carmen Vitullo 
> Sent: Friday, May 05, 2017 6:44 AM 
> To: IBM-MAIN@LISTSERV.UA.EDU 
> Subject: Re: JCL System symbols 
> 
> Bill I have a proc that starts @ IPL time to copy parmlib datasets to a 
> backup using date time 
> 
> 
> i use this 
> 
> 
> 
> //CLEAN EXEC PGM=IDCAMS, 
> //SYSPRINT DD SYSOUT=* 
> //SYSIN DD *,SYMBOLS=EXECSYS < 
> DEL 'ATTS.PROD.' 
> /* 
> //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO', 
> // DYNAMNBR=99,ACCT=(S,0602,0599) 
> //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR 
> //SYSTSPRT DD DSN=ATTS.PROD.,DISP=(,CATLG), 
> // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE), 
> // RECFM=FBA,LRECL=134,BLKSIZE=0 
> //SYSTSIN DD DUMMY 
> //* 
> //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10 
> //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB 
> //SYSUT2 DD DISP=(,CATLG), 
> // DSN=ATTS.PROD.SYSC.D, 
> // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE) 
> //SYSIN DD DUMMY 
> - Original Message - 
> 
> From: "Bill Ashton" <bill00ash...@gmail.com> 
> To: IBM-MAIN@LISTSERV.UA.EDU 
> Sent: Friday, May 5, 2017 8:38:50 AM 
> Subject: JCL System symbols 
> 
> Hi again...I have searched, and must be looking for the wrong thing, so I 
> hope you can help me. 
> 
> Is there a system symbol I can use in my DSN that has the current date in it? 
> I understand the implications of cross-date boundaries, etc., and am looking 
> to try something using the date in my dataset name. 
> 
> Also, do I need to export the symbol if it is a system symbol, or can I use 
> it in JCL and control cards without the export? 
> 
> Thanks again, and have a great, sunny weekend! 
> 
> -- 
> Thank you and best regards, 
> *Billy Ashton* 
> 

-- 
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: JCL System symbols

2017-05-05 Thread Richards, Robert B.
TASID, MXI, SHOWZOS

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Farley, Peter x23353
Sent: Friday, May 05, 2017 10:25 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

Just out of curiosity, is there a way for those of us without console authority 
to get the current list of symbols on the system?

I tried the SDSF SYM command suggested earlier, but SDSFAUX is not running on 
our system so it fails.

If it matters, we are z/OS 2.1 here.

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Carmen Vitullo
Sent: Friday, May 05, 2017 9:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

just now reading the rest of you response, sorry A.D.D. kicking in I think I 
found what I needed searching for using symbols in JCL and brought me to the 
KB, to see what system symbols are available on your system MVS command 'D 
SYMBOLS' 

Carmen 

- Original Message -

From: "Bill Ashton" <bill00ash...@gmail.com>
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Friday, May 5, 2017 8:50:17 AM
Subject: Re: JCL System symbols 

Carmen, that's just what I need - thanks so much! 

On a related note, is there a way to find out all the system symbols, so I 
don't have to keep asking one-off questions here? 

Thanks! 
B 

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote: 

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to 
> a backup using date time
> 
> 
> i use this
 
> - Original Message -
> 
> From: "Bill Ashton" <bill00ash...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 8:38:50 AM
> Subject: JCL System symbols
> 
> Hi again...I have searched, and must be looking for the wrong thing, 
> so I hope you can help me.
> 
> Is there a system symbol I can use in my DSN that has the current date 
> in it? I understand the implications of cross-date boundaries, etc., 
> and am looking to try something using the date in my dataset name.
> 
> Also, do I need to export the symbol if it is a system symbol, or can 
> I use it in JCL and control cards without the export?
> 
> Thanks again, and have a great, sunny weekend! 
> 
> --
> Thank you and best regards,
> *Billy Ashton*
> 
--


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


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

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


Re: JCL System symbols

2017-05-05 Thread Farley, Peter x23353
Just out of curiosity, is there a way for those of us without console authority 
to get the current list of symbols on the system?

I tried the SDSF SYM command suggested earlier, but SDSFAUX is not running on 
our system so it fails.

If it matters, we are z/OS 2.1 here.

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Carmen Vitullo
Sent: Friday, May 05, 2017 9:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

just now reading the rest of you response, sorry A.D.D. kicking in 
I think I found what I needed searching for using symbols in JCL and brought me 
to the KB, 
to see what system symbols are available on your system 
MVS command 'D SYMBOLS' 

Carmen 

- Original Message -

From: "Bill Ashton" <bill00ash...@gmail.com> 
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Friday, May 5, 2017 8:50:17 AM 
Subject: Re: JCL System symbols 

Carmen, that's just what I need - thanks so much! 

On a related note, is there a way to find out all the system symbols, so I 
don't have to keep asking one-off questions here? 

Thanks! 
B 

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote: 

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to a 
> backup using date time 
> 
> 
> i use this 
 
> - Original Message - 
> 
> From: "Bill Ashton" <bill00ash...@gmail.com> 
> To: IBM-MAIN@LISTSERV.UA.EDU 
> Sent: Friday, May 5, 2017 8:38:50 AM 
> Subject: JCL System symbols 
> 
> Hi again...I have searched, and must be looking for the wrong thing, so I 
> hope you can help me. 
> 
> Is there a system symbol I can use in my DSN that has the current date in 
> it? I understand the implications of cross-date boundaries, etc., and am 
> looking to try something using the date in my dataset name. 
> 
> Also, do I need to export the symbol if it is a system symbol, or can I use 
> it in JCL and control cards without the export? 
> 
> Thanks again, and have a great, sunny weekend! 
> 
> -- 
> Thank you and best regards, 
> *Billy Ashton* 
> 
--


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


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


Re: JCL System symbols

2017-05-05 Thread Carmen Vitullo
just now reading the rest of you response, sorry A.D.D. kicking in 
I think I found what I needed searching for using symbols in JCL and brought me 
to the KB, 
to see what system symbols are available on your system 
MVS command 'D SYMBOLS' 


Carmen 


- Original Message -

From: "Bill Ashton" <bill00ash...@gmail.com> 
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Friday, May 5, 2017 8:50:17 AM 
Subject: Re: JCL System symbols 

Carmen, that's just what I need - thanks so much! 

On a related note, is there a way to find out all the system symbols, so I 
don't have to keep asking one-off questions here? 

Thanks! 
B 

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote: 

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to a 
> backup using date time 
> 
> 
> i use this 
> 
> 
> 
> //CLEAN EXEC PGM=IDCAMS, 
> //SYSPRINT DD SYSOUT=* 
> //SYSIN DD *,SYMBOLS=EXECSYS < 
> DEL 'ATTS.PROD.' 
> /* 
> //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO', 
> // DYNAMNBR=99,ACCT=(S,0602,0599) 
> //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR 
> //SYSTSPRT DD DSN=ATTS.PROD.,DISP=(,CATLG), 
> // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE), 
> // RECFM=FBA,LRECL=134,BLKSIZE=0 
> //SYSTSIN DD DUMMY 
> //* 
> //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10 
> //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB 
> //SYSUT2 DD DISP=(,CATLG), 
> // DSN=ATTS.PROD.SYSC.D, 
> // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE) 
> //SYSIN DD DUMMY 
> - Original Message - 
> 
> From: "Bill Ashton" <bill00ash...@gmail.com> 
> To: IBM-MAIN@LISTSERV.UA.EDU 
> Sent: Friday, May 5, 2017 8:38:50 AM 
> Subject: JCL System symbols 
> 
> Hi again...I have searched, and must be looking for the wrong thing, so I 
> hope you can help me. 
> 
> Is there a system symbol I can use in my DSN that has the current date in 
> it? I understand the implications of cross-date boundaries, etc., and am 
> looking to try something using the date in my dataset name. 
> 
> Also, do I need to export the symbol if it is a system symbol, or can I use 
> it in JCL and control cards without the export? 
> 
> Thanks again, and have a great, sunny weekend! 
> 
> -- 
> Thank you and best regards, 
> *Billy Ashton* 
> 
> -- 
> 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 
> 



-- 
Thank you and best regards, 
*Billy Ashton* 

-- 
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: JCL System symbols

2017-05-05 Thread Lizette Koehler
Or you can enter

D SYMBOLS from the console (SDSF Line command or MVS operator command)

Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Richards, Robert B.
> Sent: Friday, May 05, 2017 6:55 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
> 
> SYM command in SDSF is you are current...
> 
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Bill Ashton
> Sent: Friday, May 05, 2017 9:50 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
> 
> Carmen, that's just what I need - thanks so much!
> 
> On a related note, is there a way to find out all the system symbols, so I
> don't have to keep asking one-off questions here?
> 
> Thanks!
> B
> 
> On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote:
> 
> > Bill I have a proc that starts @ IPL time to copy parmlib datasets to
> > a backup using date time
> >
> >
> > i use this
> >
> >
> >
> > //CLEAN EXEC PGM=IDCAMS,
> > //SYSPRINT DD SYSOUT=*
> > //SYSIN DD *,SYMBOLS=EXECSYS < DEL
> > 'ATTS.PROD.'
> > /*
> > //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO',
> > // DYNAMNBR=99,ACCT=(S,0602,0599)
> > //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR //SYSTSPRT DD
> > DSN=ATTS.PROD.,DISP=(,CATLG),
> > // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE),
> > // RECFM=FBA,LRECL=134,BLKSIZE=0
> > //SYSTSIN DD DUMMY
> > //*
> > //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10
> > //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB
> > //SYSUT2 DD DISP=(,CATLG),
> > // DSN=ATTS.PROD.SYSC.D,
> > // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE)
> > //SYSIN DD DUMMY
> > - Original Message -
> >
> > From: "Bill Ashton" <bill00ash...@gmail.com>
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Sent: Friday, May 5, 2017 8:38:50 AM
> > Subject: JCL System symbols
> >
> > Hi again...I have searched, and must be looking for the wrong thing,
> > so I hope you can help me.
> >
> > Is there a system symbol I can use in my DSN that has the current date
> > in it? I understand the implications of cross-date boundaries, etc.,
> > and am looking to try something using the date in my dataset name.
> >
> > Also, do I need to export the symbol if it is a system symbol, or can
> > I use it in JCL and control cards without the export?
> >
> > Thanks again, and have a great, sunny weekend!
> >
> > --
> > Thank you and best regards,
> > *Billy Ashton*
> >

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


Re: JCL System symbols

2017-05-05 Thread Lizette Koehler
For system symbols - make sure you have the ability to create them. They are 
documented in the MVS INIT and Tuning 
   
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieae200/dynpsm.htm


Make sure on the JES2 JOBCLASS definition in JES2 you verify how this is coded
  SYSSYM   whether it is allowed or disallowed.

Specifies whether system symbols are substituted in batch jobs that are 
submitted in this JOBCLASS. Symbols are substituted when the job is processed 
by the z/OS converter using the system symbols that are set on the system where 
the conversion occurs.


Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Carmen Vitullo
> Sent: Friday, May 05, 2017 6:44 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: JCL System symbols
> 
> Bill I have a proc that starts @ IPL time to copy parmlib datasets to a
> backup using date time
> 
> 
> i use this
> 
> 
> 
> //CLEAN EXEC PGM=IDCAMS,
> //SYSPRINT DD SYSOUT=*
> //SYSIN DD *,SYMBOLS=EXECSYS <
> DEL 'ATTS.PROD.'
> /*
> //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO',
> // DYNAMNBR=99,ACCT=(S,0602,0599)
> //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR
> //SYSTSPRT DD DSN=ATTS.PROD.,DISP=(,CATLG),
> // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE),
> // RECFM=FBA,LRECL=134,BLKSIZE=0
> //SYSTSIN DD DUMMY
> //*
> //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10
> //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB
> //SYSUT2 DD DISP=(,CATLG),
> // DSN=ATTS.PROD.SYSC.D,
> // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE)
> //SYSIN DD DUMMY
> - Original Message -
> 
> From: "Bill Ashton" <bill00ash...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 8:38:50 AM
> Subject: JCL System symbols
> 
> Hi again...I have searched, and must be looking for the wrong thing, so I
> hope you can help me.
> 
> Is there a system symbol I can use in my DSN that has the current date in it?
> I understand the implications of cross-date boundaries, etc., and am looking
> to try something using the date in my dataset name.
> 
> Also, do I need to export the symbol if it is a system symbol, or can I use
> it in JCL and control cards without the export?
> 
> Thanks again, and have a great, sunny weekend!
> 
> --
> Thank you and best regards,
> *Billy Ashton*
> 

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


Re: JCL System symbols

2017-05-05 Thread John McKown
On Fri, May 5, 2017 at 8:50 AM, Bill Ashton <bill00ash...@gmail.com> wrote:

> Carmen, that's just what I need - thanks so much!
>
> On a related note, is there a way to find out all the system symbols, so I
> don't have to keep asking one-off questions here?
>

​
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieae200/dynpsm.htm
​

​The key phrase is "dynamic system symbols"

 == 170505 for today 5 May 2017, local time
 == 170505 for GMT of today, 5 May 2017. May be different from
 based on TZ.
 == hhmmss (08:54:10 here in Texas right now)
 == hhmmss in GMT (13:54:10 equivalent "instant" as above).
​
​From experimentation on a single system (no NJE available), this is
resolve by the converter when the JCL is "expanded" from what was submitted
into the internal CI form.​



>
> Thanks!
> B
>
> On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net>
> wrote:
>
> > Bill I have a proc that starts @ IPL time to copy parmlib datasets to a
> > backup using date time
> >
> >
> > i use this
> >
> >
> >
> > //CLEAN EXEC PGM=IDCAMS,
> > //SYSPRINT DD SYSOUT=*
> > //SYSIN DD *,SYMBOLS=EXECSYS <
> > DEL 'ATTS.PROD.'
> > /*
> > //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO',
> > // DYNAMNBR=99,ACCT=(S,0602,0599)
> > //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR
> > //SYSTSPRT DD DSN=ATTS.PROD.,DISP=(,CATLG),
> > // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE),
> > // RECFM=FBA,LRECL=134,BLKSIZE=0
> > //SYSTSIN DD DUMMY
> > //*
> > //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10
> > //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB
> > //SYSUT2 DD DISP=(,CATLG),
> > // DSN=ATTS.PROD.SYSC.D,
> > // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE)
> > //SYSIN DD DUMMY
> > - Original Message -
> >
> > From: "Bill Ashton" <bill00ash...@gmail.com>
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Sent: Friday, May 5, 2017 8:38:50 AM
> > Subject: JCL System symbols
> >
> > Hi again...I have searched, and must be looking for the wrong thing, so I
> > hope you can help me.
> >
> > Is there a system symbol I can use in my DSN that has the current date in
> > it? I understand the implications of cross-date boundaries, etc., and am
> > looking to try something using the date in my dataset name.
> >
> > Also, do I need to export the symbol if it is a system symbol, or can I
> use
> > it in JCL and control cards without the export?
> >
> > Thanks again, and have a great, sunny weekend!
> >
> > --
> > Thank you and best regards,
> > *Billy Ashton*
> >
> > --
> > 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
> >
>
>
>
> --
> Thank you and best regards,
> *Billy Ashton*
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 
Advertising is a valuable economic factor because it is the cheapest way of
selling goods, particularly if the goods are worthless. -- Sinclair Lewis


Maranatha! <><
John McKown

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


Re: JCL System symbols

2017-05-05 Thread Richards, Robert B.
SYM command in SDSF is you are current...

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Bill Ashton
Sent: Friday, May 05, 2017 9:50 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JCL System symbols

Carmen, that's just what I need - thanks so much!

On a related note, is there a way to find out all the system symbols, so I 
don't have to keep asking one-off questions here?

Thanks!
B

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote:

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to 
> a backup using date time
>
>
> i use this
>
>
>
> //CLEAN EXEC PGM=IDCAMS,
> //SYSPRINT DD SYSOUT=*
> //SYSIN DD *,SYMBOLS=EXECSYS < DEL 
> 'ATTS.PROD.'
> /*
> //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO',
> // DYNAMNBR=99,ACCT=(S,0602,0599)
> //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR //SYSTSPRT DD 
> DSN=ATTS.PROD.,DISP=(,CATLG),
> // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE),
> // RECFM=FBA,LRECL=134,BLKSIZE=0
> //SYSTSIN DD DUMMY
> //*
> //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10
> //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB
> //SYSUT2 DD DISP=(,CATLG),
> // DSN=ATTS.PROD.SYSC.D,
> // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE)
> //SYSIN DD DUMMY
> - Original Message -
>
> From: "Bill Ashton" <bill00ash...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 8:38:50 AM
> Subject: JCL System symbols
>
> Hi again...I have searched, and must be looking for the wrong thing, 
> so I hope you can help me.
>
> Is there a system symbol I can use in my DSN that has the current date 
> in it? I understand the implications of cross-date boundaries, etc., 
> and am looking to try something using the date in my dataset name.
>
> Also, do I need to export the symbol if it is a system symbol, or can 
> I use it in JCL and control cards without the export?
>
> Thanks again, and have a great, sunny weekend!
>
> --
> Thank you and best regards,
> *Billy Ashton*
>
> --
> 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
>



--
Thank you and best regards,
*Billy Ashton*

--
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: JCL System symbols

2017-05-05 Thread Carmen Vitullo
Excellent, glad I could help 


Carmen 

- Original Message -

From: "Bill Ashton" <bill00ash...@gmail.com> 
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Friday, May 5, 2017 8:50:17 AM 
Subject: Re: JCL System symbols 

Carmen, that's just what I need - thanks so much! 

On a related note, is there a way to find out all the system symbols, so I 
don't have to keep asking one-off questions here? 

Thanks! 
B 

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote: 

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to a 
> backup using date time 
> 
> 
> i use this 
> 
> 
> 
> //CLEAN EXEC PGM=IDCAMS, 
> //SYSPRINT DD SYSOUT=* 
> //SYSIN DD *,SYMBOLS=EXECSYS < 
> DEL 'ATTS.PROD.' 
> /* 
> //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO', 
> // DYNAMNBR=99,ACCT=(S,0602,0599) 
> //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR 
> //SYSTSPRT DD DSN=ATTS.PROD.,DISP=(,CATLG), 
> // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE), 
> // RECFM=FBA,LRECL=134,BLKSIZE=0 
> //SYSTSIN DD DUMMY 
> //* 
> //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10 
> //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB 
> //SYSUT2 DD DISP=(,CATLG), 
> // DSN=ATTS.PROD.SYSC.D, 
> // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE) 
> //SYSIN DD DUMMY 
> - Original Message - 
> 
> From: "Bill Ashton" <bill00ash...@gmail.com> 
> To: IBM-MAIN@LISTSERV.UA.EDU 
> Sent: Friday, May 5, 2017 8:38:50 AM 
> Subject: JCL System symbols 
> 
> Hi again...I have searched, and must be looking for the wrong thing, so I 
> hope you can help me. 
> 
> Is there a system symbol I can use in my DSN that has the current date in 
> it? I understand the implications of cross-date boundaries, etc., and am 
> looking to try something using the date in my dataset name. 
> 
> Also, do I need to export the symbol if it is a system symbol, or can I use 
> it in JCL and control cards without the export? 
> 
> Thanks again, and have a great, sunny weekend! 
> 
> -- 
> Thank you and best regards, 
> *Billy Ashton* 
> 
> -- 
> 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 
> 



-- 
Thank you and best regards, 
*Billy Ashton* 

-- 
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: JCL System symbols

2017-05-05 Thread Bill Ashton
Carmen, that's just what I need - thanks so much!

On a related note, is there a way to find out all the system symbols, so I
don't have to keep asking one-off questions here?

Thanks!
B

On Fri, May 5, 2017 at 9:43 AM, Carmen Vitullo <cvitu...@hughes.net> wrote:

> Bill I have a proc that starts @ IPL time to copy parmlib datasets to a
> backup using date time
>
>
> i use this
>
>
>
> //CLEAN EXEC PGM=IDCAMS,
> //SYSPRINT DD SYSOUT=*
> //SYSIN DD *,SYMBOLS=EXECSYS <
> DEL 'ATTS.PROD.'
> /*
> //IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO',
> // DYNAMNBR=99,ACCT=(S,0602,0599)
> //SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR
> //SYSTSPRT DD DSN=ATTS.PROD.,DISP=(,CATLG),
> // UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE),
> // RECFM=FBA,LRECL=134,BLKSIZE=0
> //SYSTSIN DD DUMMY
> //*
> //IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10
> //SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB
> //SYSUT2 DD DISP=(,CATLG),
> // DSN=ATTS.PROD.SYSC.D,
> // UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE)
> //SYSIN DD DUMMY
> - Original Message -
>
> From: "Bill Ashton" <bill00ash...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Friday, May 5, 2017 8:38:50 AM
> Subject: JCL System symbols
>
> Hi again...I have searched, and must be looking for the wrong thing, so I
> hope you can help me.
>
> Is there a system symbol I can use in my DSN that has the current date in
> it? I understand the implications of cross-date boundaries, etc., and am
> looking to try something using the date in my dataset name.
>
> Also, do I need to export the symbol if it is a system symbol, or can I use
> it in JCL and control cards without the export?
>
> Thanks again, and have a great, sunny weekend!
>
> --
> Thank you and best regards,
> *Billy Ashton*
>
> --
> 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
>



-- 
Thank you and best regards,
*Billy Ashton*

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


Re: JCL System symbols

2017-05-05 Thread Carmen Vitullo
Bill I have a proc that starts @ IPL time to copy parmlib datasets to a backup 
using date time 


i use this 



//CLEAN EXEC PGM=IDCAMS, 
//SYSPRINT DD SYSOUT=* 
//SYSIN DD *,SYMBOLS=EXECSYS < 
DEL 'ATTS.PROD.' 
/* 
//IPLINFO EXEC PGM=IKJEFT01,REGION=0M,PARM='IPLINFO', 
// DYNAMNBR=99,ACCT=(S,0602,0599) 
//SYSEXEC DD DSN=TS.USER.REXX,DISP=SHR 
//SYSTSPRT DD DSN=ATTS.PROD.,DISP=(,CATLG), 
// UNIT=SYSDA,SPACE=(TRK,(25,5),RLSE), 
// RECFM=FBA,LRECL=134,BLKSIZE=0 
//SYSTSIN DD DUMMY 
//* 
//IEBCOPY1 EXEC PGM=IEBCOPY,REGION=2M,TIME=10 
//SYSUT1 DD DISP=SHR,DSN=SYS1.SYSC.PARMLIB 
//SYSUT2 DD DISP=(,CATLG), 
// DSN=ATTS.PROD.SYSC.D, 
// UNIT=SYSALLDA,SPACE=(CYL,(10,1,75),RLSE) 
//SYSIN DD DUMMY 
- Original Message -

From: "Bill Ashton" <bill00ash...@gmail.com> 
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Friday, May 5, 2017 8:38:50 AM 
Subject: JCL System symbols 

Hi again...I have searched, and must be looking for the wrong thing, so I 
hope you can help me. 

Is there a system symbol I can use in my DSN that has the current date in 
it? I understand the implications of cross-date boundaries, etc., and am 
looking to try something using the date in my dataset name. 

Also, do I need to export the symbol if it is a system symbol, or can I use 
it in JCL and control cards without the export? 

Thanks again, and have a great, sunny weekend! 

-- 
Thank you and best regards, 
*Billy Ashton* 

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


JCL System symbols

2017-05-05 Thread Bill Ashton
Hi again...I have searched, and must be looking for the wrong thing, so I
hope you can help me.

Is there a system symbol I can use in my DSN that has the current date in
it? I understand the implications of cross-date boundaries, etc., and am
looking to try something using the date in my dataset name.

Also, do I need to export the symbol if it is a system symbol, or can I use
it in JCL and control cards without the export?

Thanks again, and have a great, sunny weekend!

-- 
Thank you and best regards,
*Billy Ashton*

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