Okay, I went back and revisited the JCL DD statements as you have indicated 
below.
I added a //SYSPRINT DD SYSOUT=* and reran the usermod APPLY.

It worked! Just as you indicated and just as I expected it to do the first time 
I tried this.

Now that I have something that works, I'm really confused as to what has 
transpired since I started this.
It's pretty hard to mess up a simple "//SYSPRINT DD SYSOUT=*" statement but 
that's all I can figure, I didn't have something right in the typing of the 
statement.

I'm going to go back and try the eventual modification that I want to make and 
see if I have the same result or something new.

Thanks John, and everyone else, for insisting that it should work.



Charles (Chuck) Hardee
Senior Systems Engineer/Database Administration
EAS Information Technology

Thermo Fisher Scientific
300 Industry Drive | Pittsburgh, PA 15275
Phone +1 (724) 517-2633 | Mobile +1 (412) 877-2809 | FAX: +1 (412) 490-9230
[email protected] | www.thermofisher.com

WORLDWIDE CONFIDENTIALITY NOTE: Dissemination, distribution or copying of this 
e-mail or the information herein by anyone other than the intended recipient, 
or an employee or agent of a system responsible for delivering the message to 
the intended recipient, is prohibited. If you are not the intended recipient, 
please inform the sender and delete all copies.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Chase, John
Sent: Tuesday, November 11, 2014 11:28 AM
To: [email protected]
Subject: Re: SMP/E APPLY output capture question

> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Hardee, Chuck
> 
> No, at least not intentionally.
> When I run my usermod using no changes to the CSI and/or JCL, the output is 
> directed, via the MSGCLASS
> parm on the JOB statement to class X, which is a hold queue. When I modify 
> the output requirements to
> go to another class, class F in this case, it, too, is a held class that our 
> Production Control
> personnel receive output in that has to be reviewed and then, if it passes 
> muster, is filed into their
> source control system.
> 
> In the off chance that that was the case, I added HOLD=YES on the DD 
> statement for SYSPRINT, but
> whether that worked or not, I can't say as I never received any output on 
> that DD when I ran my APPLY,
> which is another issue I had pointed out in previous replies.
> 
> Frankly I am confused as to what is happening since what I am wanting to do 
> should be very straight
> forward.

Indeed, JCL overrides "just work".

Assuming you have DDDEFs for all required datasets, your APPLY job that works 
could be as simple as:

//jobname  JOB acctg.info,MSGCLASS=X,...
//stepname EXEC PGM=GIMSMP[,REGION=0M[,...]]
//SMPCSI   DD DISP=SHR,DSN=my.smp.global.csi
//SMPCNTL  DD *
  SET BDY(tgtzone) .
  APPLY S(usermod) ASSEM REDO .
/*

Based on your descriptions, you get your //SYSPRINT output in class X.

To get your //SYSPRINT output into class F, you need only add one JCL statement:

//jobname  JOB acctg.info,MSGCLASS=X,...
//stepname EXEC PGM=GIMSMP[,REGION=0M[,...]]
//SMPCSI   DD DISP=SHR,DSN=my.smp.global.csi
//SYSPRINT DD SYSOUT=F      <<<<<=========== add this statement
//SMPCNTL  DD *
  SET BDY(tgtzone) .
  APPLY S(usermod) ASSEM REDO .
/*

It really is that simple.

    -jc-

**********************************************************************
Information contained in this e-mail message and in any attachments thereto is 
confidential. If you are not the intended recipient, please destroy this 
message, delete any copies held on your systems, notify the sender immediately, 
and refrain from using or disclosing all or any part of its content to any 
other person.

----------------------------------------------------------------------
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