Re: Tips for continuing DD statement with only one parameter field

2012-03-10 Thread Shmuel Metz (Seymour J.)
In <0818533857960322.wa.paulgboulderaim@bama.ua.edu>, on 03/09/2012 at 08:32 AM, Paul Gilmartin said: >How would that affect the syntax or semantics of the DD PATH= >parameter? A leading // would not be equivalent to a leading /. -- Shmuel (Seymour J.) Metz, SysProg and JOAT

Re: Tips for continuing DD statement with only one parameter field

2012-03-09 Thread Paul Gilmartin
On Fri, 9 Mar 2012 08:33:11 -0500, Shmuel Metz (Seymour J.) wrote: > >>Better: tilde substitution in the PATH. Where I work, user homes >>are not in /u. And some people mount HOME via NFS from a system >>with YA naming standard. > >Is there an outstanding requirement to support UNC in z/OS Unix?

Re: Tips for continuing DD statement with only one parameter field

2012-03-09 Thread Shmuel Metz (Seymour J.)
In <7326129770207562.wa.paulgboulderaim@bama.ua.edu>, on 03/08/2012 at 12:15 PM, Paul Gilmartin said: >Better: tilde substitution in the PATH. Where I work, user homes >are not in /u. And some people mount HOME via NFS from a system >with YA naming standard. Is there an outstanding re

Re: Tips for continuing DD statement with only one parameter field

2012-03-09 Thread Shmuel Metz (Seymour J.)
In <8073223666064012.wa.paulgboulderaim@bama.ua.edu>, on 03/08/2012 at 09:45 AM, Paul Gilmartin said: >All DCB subparameters, or only some? Only some, but the most common. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see

Re: Tips for continuing DD statement with only one parameter field

2012-03-09 Thread Shmuel Metz (Seymour J.)
In , on 03/08/2012 at 12:01 PM, Scott Ford said: >You saying the working directory on Z/os unix is different than >the homes? I believe that he is saying that the working directopry on z/OS Unix need not be the same as the user's home directory, just as the TSO PROFILE PREFIX need not be the

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Shmuel Metz (Seymour J.)
In <5b3c73e7-6309-4438-b9ac-9e002f989...@yahoo.com>, on 03/07/2012 at 05:30 PM, Scott Ford said: >There is a limitation on parms of 100 bytes if memory serves me. The PARM keyword parameter of EXEC has a limit of 100; the PATH keyword parameter of DD does not. -- Shmuel (Seymour J.) M

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Scott Ford
Original Message- >> From: IBM Mainframe Discussion List >> [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Scott Ford >> Sent: Thursday, March 08, 2012 11:02 AM >> To: IBM-MAIN@bama.ua.edu >> Subject: Re: Tips for continuing DD statement with only one >> pa

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Paul Gilmartin
On Thu, 8 Mar 2012 11:29:38 -0600, McKown, John wrote: >> -Original Message- >> [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Scott Ford >> Sent: Thursday, March 08, 2012 11:02 AM >> >> You saying the working directory on Z/os unix is different >> than the homes? >> I really, really hope tha

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Scott Ford > Sent: Thursday, March 08, 2012 11:02 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Tips for continuing DD statement with only one > parameter field &g

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Scott Ford
e Company of > TennesseeSM and The MEGA Life and Health Insurance Company.SM > > > >> -----Original Message- >> From: IBM Mainframe Discussion List >> [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Tony Harminc >> Sent: Thursday, March 08, 2012 10:11 AM

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread McKown, John
> From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Tony Harminc > Sent: Thursday, March 08, 2012 10:11 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Tips for continuing DD statement with only one > parameter field > > On 8 March 2012 10:46

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread McKown, John
l Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -Original Message- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Edward Jaffe > Sent: Thursday, March 08, 2012 9:47 AM > To: IBM-MAIN@bama.ua.

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Tony Harminc
On 8 March 2012 10:46, Edward Jaffe wrote: > On 3/8/2012 7:28 AM, Paul Gilmartin wrote: >> >> o Pathnames must be absolute (start with "/") > > > This is an inconvenience I wish could be rectified. No leading slash should > default to one's home directory. When, and on which system, would this be

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Charles Mills
Duh! The whole point of home directories. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Edward Jaffe Sent: Thursday, March 08, 2012 7:47 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Tips for continuing DD statement with only one

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Edward Jaffe
On 3/8/2012 7:28 AM, Paul Gilmartin wrote: o Pathnames must be absolute (start with "/") This is an inconvenience I wish could be rectified. No leading slash should default to one's home directory. -- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Paul Gilmartin
On Thu, 8 Mar 2012 09:02:47 -0500, John Gilmore wrote: > >2) many historical keyword subparameters, e.g., those of the DCB= >keyword parameter, have been half promoted: they continue to be usable >as subparameters, but they may now also be coded as parameters > All DCB subparameters, or only some?

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Paul Gilmartin
On Thu, 8 Mar 2012 06:48:52 -0800, Charles Mills wrote: >PATH is not only under-specified in the JCL reference, it is also >over-specified. > >- Is case-sensitive. Thus, /u/joe and /u/JOE and /u/Joe define three >different files. > >Is not an aspect of the PATH= parameter, it is an aspect of the H

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Charles Mills
r continuing DD statement with only one parameter field On Wed, 7 Mar 2012 19:04:40 -0800, Charles Mills wrote: >Well, who's counting indeed, but my JCL reference says > >The pathname: ... >- Has a length of 1 through 255 characters. ... > I stand corrected; I misread earlier in t

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread John Gilmore
This thread has very largely straightened itself out. For the record, i.e., for the sake of anyone who reads through it in the archives: 1) parameters and subparameters are of two sorts, positional and keyword 2) many historical keyword subparameters, e.g., those of the DCB= keyword parameter, h

Re: Tips for continuing DD statement with only one parameter field

2012-03-08 Thread Charles Mills
All good points. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Paul Gilmartin Sent: Wednesday, March 07, 2012 11:19 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Tips for continuing DD statement with only one parameter field On Wed

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Paul Gilmartin
On Wed, 7 Mar 2012 19:04:40 -0800, Charles Mills wrote: >Well, who's counting indeed, but my JCL reference says > >The pathname: ... >- Has a length of 1 through 255 characters. ... > I stand corrected; I misread earlier in the same section: Each directory or filename: Is preceded by a sl

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Scott Ford
Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf > Of Paul Gilmartin > Sent: Wednesday, March 07, 2012 5:58 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Tips for continuing DD statement with only one parameter field > > On Wed, 7 Mar 2

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Charles Mills
ashes. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Paul Gilmartin Sent: Wednesday, March 07, 2012 5:58 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Tips for continuing DD statement with only one parameter field On Wed, 7 Mar 2012

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Paul Gilmartin
On Wed, 7 Mar 2012 18:54:47 -0500, Tony Harminc wrote: >On 7 March 2012 18:27, Charles Mills wrote: >> Many long threads here on that one ... >> >> What's worse, "parm" means two different things. >> >> There is a limit of 100 characters on the operand of PARM=. >> >> But I was referring to "param

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Lloyd Fuller
That works. In fact you can also do a partial substitution using a variable. Lloyd - Original Message From: "Hardee, Chuck" To: IBM-MAIN@bama.ua.edu Sent: Wed, March 7, 2012 3:16:05 PM Subject: Re: Tips for continuing DD statement with only one parameter field I don&#x

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Tony Harminc
On 7 March 2012 18:27, Charles Mills wrote: > Many long threads here on that one ... > > What's worse, "parm" means two different things. > > There is a limit of 100 characters on the operand of PARM=. > > But I was referring to "parameters" in the more general sense of, as the > manual says, "The

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Charles Mills
Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Scott Ford Sent: Wednesday, March 07, 2012 2:30 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Tips for continuing DD statement with only one parameter field There is a limitat

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Scott Ford
2012 1:40 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Tips for continuing DD statement with only one parameter field > > JCL Reference is your friend: > > //S1 EXEC PGM=IEFBR14,PARM='THIS IS A LONG PARAMETER WITHIN APOST > // ROPHES, CONTINUED IN CO

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Charles Mills
ma.ua.edu] On Behalf Of R.S. Sent: Wednesday, March 07, 2012 1:40 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Tips for continuing DD statement with only one parameter field JCL Reference is your friend: //S1 EXEC PGM=IEFBR14,PARM='THIS IS A LONG PARAMETER WITHIN APOST // ROPHE

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread R.S.
JCL Reference is your friend: //S1 EXEC PGM=IEFBR14,PARM='THIS IS A LONG PARAMETER WITHIN APOST // ROPHES, CONTINUED IN COLUMN 16 OF THE NEXT RECORD' Example 4 shows continuation of a parameter field when a parameter is enclosed in apostrophes. The parameter field is continued

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Charles Mills
Ha! //MYDDNAME DD PATHDISP=, // PATH='long/path/name' works. Kinda silly, but it works. The SET symbol is not a bad idea also as there actually is a fair amount of commonality among the three paths, so I could "factor out" that common part into one SET symbol. Thanks, Charles -Origina

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread McKown, John
I cheat: // SET FILE1='/usr/lpp' // SET FILE2='/tcpip' // SET FILE3='/samples' //* OTHER STUFF //MYDDNAME DD PATH='&FILE1&FILE2&FILE3' //* I do this for long PARM= values too. Works like a chump, ahh champ. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r)

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Richard L Peurifoy
On 3/7/2012 2:11 PM, Charles Mills wrote: I've got several DD statements in a proc that have only a single parameter, PATH='long/path/name' Because the path is long the statement will not fit on a single card image (but the PATH parameter by itself will). So I coded //MYDDNAME DD // PATH='lon

Re: Tips for continuing DD statement with only one parameter field

2012-03-07 Thread Hardee, Chuck
I don't know if it will work, but try SETting your path to a variable and then use that variable in the PATH= parameter: // SET MYPATH='long/path/name' //MYDDNAME DD PATH='&MYPATH' C- Charles (Chuck) Hardee Senior Systems Engineer Database Administration Information Technology Services Thermo F