On Fri, 11 Jul 2014 19:49:29 +0000, Gibney, Dave wrote:

>I do not understand why anyone currently uses SMP/E JCVL containing any more 
>than the bare minium od hardcoded DD statements.
>
>//SMPEAP  EXEC PGM=GIMSMP,COND=(0,NE),REGION=0M,TIME=NOLIMIT, 
>//         PARM='PROCESS=WAIT'                                
>//SMPCSI   DD DISP=SHR,DSN=ZOS113S.SMPE.GLOBAL.CSI            
>//SMPCNTL  DD  *                                              
> 
You can shorten that by half by naming the CSI in the PARM.

Mark Z. suggested a reasonable middle ground.  Gee, for this one-off,
I'll do an APPLY pointing an SMP/E library to my data set instead of one
in the DDDEFs. ...


>> -----Original Message-----
>> On Behalf Of Kurt Quackenbush
>> Sent: Friday, July 11, 2014 12:45 PM
>> 
>> ..., your explanation doesn't
>> make sense to me.  The error you reported to the list was this:
>> 
>> GIM54701E ** ALLOCATION FAILED FOR SMP00027 - IKJ56246I DATA SET
>>               CEE.SCEELKED NOT ALLOCATED, FILE IN USE.
>> 
>> Just to be clear, removing this DD statement, resolved the error.
>> 
>> //SMP00027 DD  DSN=DSN910.CEE.SCEECPP,DISP=SHR
>> //         DD  DSN=DSN910.CEE.SCEELKED,DISP=SHR
>
My conjecture is that the OP, understanding (poorly) that DDDEFs can be
(but perhaps should not be) overridden by JCL allocation, scanned the
messages in SMPLOG to suss out what DDNAME to override; spotted
SMP00027, and coded that in JCL.

IBM owes an apology to every programmer who has ever been misled
by the dreadful IKJ56246I message text.  RTFM isn't the answer.  When
Tom Marchant, Ed Finnell, Robert A. Rosenberg, Linda, and Kurt
Quackenbush, most of whom I recognize as experts, can be misled
(I suspect repeatedly; I know it's happened to me more than once)
to suspect an ENQ is involved, the "F" in RTFM clearly doesn't stand
for Friendly.  More than an apology, it's time, decades late, for IBM to
change the message text.  Especially given the decline of LOOKAT.

How about:
IKJ56246I DDNAME SMP00027 IN USE; DATA SET CEE.SCEELKED NOT ALLOCATED.
Clear enough?  (OMG!  did I suggest a semicolon in a message text!?)

-- gil

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

Reply via email to