Re: DSPSERV with SCOPE=?

2013-02-09 Thread Robert A. Rosenberg
At 15:40 -0500 on 02/09/2013, John Gilmore wrote about Re: DSPSERV with SCOPE=?: The obvious question is that of the binding time of this requirement. My scheme is useful at assembly time; Robert Rosenberg's is useful at execution time. John Gilmore, Ashland, MA 01721 - USA Mine, obviously,

Re: DSPSERV with SCOPE=?

2013-02-09 Thread Robert A. Rosenberg
At 15:53 + on 02/09/2013, esst...@juno.com wrote about DSPSERV with SCOPE=?: I would like to develope a single routine which is passed parameters, but the SCOPE= parameter does not seem to allow a parameter to be passed. For Example: DSPSERV CREATE, NAME=DSP_NAME,

Re: DSPSERV with SCOPE=?

2013-02-09 Thread John Gilmore
You can use a character set symbols in open code for this purpose, as in |&scopea(1) setc 'single','all','common'--supported-values array |&scopesub seta . . . --1|2|3 |&scopevar setc '&scopea(&scopesub)' |DSPSERV CREATE, | NAME=DSP_NAME, | SCOP

DSPSERV with SCOPE=?

2013-02-09 Thread esst...@juno.com
When creating a dataspace I want to know if there are any recommendations for making the SCOPE=SINGLE|ALL|COMMON a variable. I would like to develope a single routine which is passed parameters, but the SCOPE= parameter does not seem to allow a parameter to be passed. For Example: DSPSE