+1

Every other programming and similar language that I know treats unreferenced 
symbols as either a non-event or a warning.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Paul Gilmartin
Sent: Wednesday, December 1, 2021 7:58 AM
To: [email protected]
Subject: Re: Trying to use long parm= in started task

On Wed, 1 Dec 2021 15:35:27 +0000, Colin Paice wrote:

>I tried that ...
>I get
>IEFC657I THE SYMBOL ACTION WAS NOT USED...
>Where action is one of the procedure parameters.
>
o // SET should suffice to establish use.  If not, it should be APARable.

o // SET should suffice to establish use.  If not, it should be APARable.

IEFC657I is bogus.  It should be an error to use a symbol without defining it,
not to define a symbol without using it.

IBM needs to get its act together and understand customers' needs.

>and the procedure parm was not passed through into the parmsdd, symbols I
>create are...  procedure parms are not
>
>hence my convoluted solution using intermediate symbols and some dummy
>iefbr14 steps to use the procedure parms.


>> > On Wed, Dec 1, 2021 at 8:27 AM Colin Paice wrote:
>> > >
>> > > I want to use a started task to start my web browser, but the size
>> > > of the parameters exceeds the 100 char limit for parm=
>> > >
>> > > Is there a nice way of passing the data?
>> > >
>> > > Ive tried using symbols, and passing them in to an instream dataset,
>> > > with SYMBOLS=....
>> > > I then need dummy steps to actually use the parameters, otherwise
>> > > you get IEFC657I THE SYMBOL ACTION WAS NOT USED
>> > >
>> > > One attempt is below.
>> > >
>> > > //COLWEB   PROC ACTION='start',
>> > > //          DIR='/usr/lpp/ihsa_zos',
>> > > //          CONF='/u/mqweb3/conf/httpd.conf',
>> > > //          T='-t -DDUMP_CONFIG'
>> > > //*---------------------------------------------------------
>> > >
>> > > *//  EXPORT SYMLIST=* //  SET A1='&ACTION' //  SET D1='&DIR' //  SET
>> > > T2='&T' *
>> > > //IHS      EXEC PGM=BPXBATCH,REGION=0M
>> > > //STDIN    DD *,*SYMBOLS=EXECSYS *
>> > >
>> > > *&D1/bin/apachectl -k &A1     -f &CONF -DNO_DETACH &T2  *
>> > > *blah blah blah*
>> > > /*
>> > > //STDOUT   DD  SYSOUT=H
>> > > //STDERR   DD  SYSOUT=H
>> > > //STDENV   DD  DISP=SHR,DSN=USER.Z24C.PROCLIB(HTTPENV)
>> > >
>> > >
>> > > *//DUMMY    EXEC PGM=IEFBR14,REGION=0M, //  PARM='&ACTION &DIR &CONF' *
>> > >
>> > > *//DUMMY2    EXEC PGM=IEFBR14,REGION=0M, //  PARM='&T' *
>> > > //  PEND

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to