Re: JCL // SET SYMBOL indirection

2023-02-02 Thread Seymour J Metz
79d-dmarc-requ...@listserv.ua.edu> Sent: Thursday, February 2, 2023 1:13 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: JCL // SET SYMBOL indirection On Wed, 1 Feb 2023 13:52:56 +, Seymour J Metz wrote: >Or IBM knows something that you do not. > IBM guarantees that with their indolent d

Re: JCL // SET SYMBOL indirection

2023-02-02 Thread Paul Gilmartin
On Wed, 1 Feb 2023 13:52:56 +, Seymour J Metz wrote: >Or IBM knows something that you do not. > IBM guarantees that with their indolent documentation practice. An example: : The following keywords are the on

Re: JCL // SET SYMBOL indirection

2023-02-01 Thread Seymour J Metz
, January 31, 2023 10:38 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: JCL // SET SYMBOL indirection On Wed, 1 Feb 2023 00:20:26 +, Farley, Peter wrote: >Not necessarily what you may want, but this works: > >//SYM1 SET SYM1=VALUE1 >//SYM2 SET SYM2=VALUE2 > >//TARGET

Re: JCL // SET SYMBOL indirection

2023-01-31 Thread Paul Gilmartin
On Wed, 1 Feb 2023 00:20:26 +, Farley, Peter wrote: >Not necessarily what you may want, but this works: > >//SYM1 SET SYM1=VALUE1 >//SYM2 SET SYM2=VALUE2 > >//TARGET SET TARGET=&SYM1 > >//RESULT SET RESULT=&TARGET (and end up with &RESULT being set to VALUE1 >and not SYM1) > >I

Re: JCL // SET SYMBOL indirection

2023-01-31 Thread Sri h Kolusu
>>//RESULT SET RESULT=&&TARGET (and end up with &RESULT being set to VALUE1 >>and not SYM1) Rob, Try this // EXPORT SYMLIST=* //SYM1 SET SYM1=VALUE1 //SYM2 SET SYM2=VALUE2 //TARGET SET TARGET=SYM1 //RESULT SET RESULT=&TARGET /* //STEP0100 EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=*

Re: JCL // SET SYMBOL indirection

2023-01-31 Thread Bob Bridges
I don't know about your question. But herewith a brief side hike: I have always been inclined to experiment with systems, hoping to find sense in what seemed like senseless behavior and looking for shortcuts. (Apparently I was born to be a programmer.) When I was handed a form to fill out, and t

Re: JCL // SET SYMBOL indirection

2023-01-31 Thread Billy Ashton
Unfortunately, you can not have "nested" symbols...just one and done. Thank you and best regards, Billy Ashton -- Original Message -- From "Robert Garrett" To IBM-MAIN@listserv.ua.edu Date 1/31/2023 7:07:31 PM Subject JCL // SET SYMBOL indirection I love symbol

Re: JCL // SET SYMBOL indirection

2023-01-31 Thread Farley, Peter
Garrett Sent: Tuesday, January 31, 2023 7:08 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: JCL // SET SYMBOL indirection I love symbols. I've been trying to figure out if a level of indirection is possible. Here's an example that both doesn't work and isn't' even syntactically

JCL // SET SYMBOL indirection

2023-01-31 Thread Robert Garrett
I love symbols. I've been trying to figure out if a level of indirection is possible. Here's an example that both doesn't work and isn't' even syntactically correct, but hopefully will serve to illustrate what I'm trying to do: //SYM1 SET SYM1=VALUE1 //SYM2 SET SYM2=VALUE2 //TARGET SE