Radoslaw,
Here is the relevant portions of my same usermod that is my production version
today. No need for a TXLIB keyword, the assembly and linkedit will occur
automatically.
//PROCLIB JCLLIB ORDER=(SMPE.ZOS22A.CLONE.JCL.PROCLIB)
//STEP005 EXEC SMPE
//SMPOUT DD SYSOUT=*
//SYSIN DD *
SET BDY (GLOBAL).
RECEIVE S(MFMN001) SYSMODS BYPASS(APPCHK).
SET BDY (MVSTZN).
APPLY SELECT(MFMN001).
/*
//* REJECT S(MFMN001) BYPASS(APPCHK).
//* RESTORE S(MFMN001) .
//SMPPTFIN DD DATA,DLM=$$
++USERMOD (MFMN001) /* FILEMANAGER FOR DB2 OPTIONS*/.
++VER (Z038) FMID(JADLD12) PRE(UI25246).
++SRC(FMN2POPT) DISTLIB(AFMNSAM1).
FMN2POPT TITLE 'File Manager/DB2: Profile and Subsystem Defaults'
***Start of specifications*******************************************
*
*
. (the rest of your FMN2POPT source)
.
.
DESC='DB2 TEC SYSTEM-DBVX'
FMN2SSDM SSID=DEFAULT
END FMN2POPT
$$
//
_________________________________________________________________
Dave Jousma
Manager Mainframe Engineering, Assistant Vice President
[email protected]
1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H
p 616.653.8429
f 616.653.2717
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of R.S.
Sent: Tuesday, December 27, 2016 4:47 PM
To: [email protected]
Subject: Looking for USERMOD samples
I'm trying to learn a little bit about SMP/E usermods.
Unfortunately neither SMP/E manuals nor google did not provide good (*well
explained*) samples.
Example (from File Manager):
//SMPCNTL DD *
SET BDY(GLOBAL).
RECEIVE SELECT(FMN2001) SYSMODS.
SET BDY (TARGET).
APPLY SELECT(FMN2001) RETRY(YES) REDO.
/*
//SMPPTFIN DD DATA,DLM=$$
++USERMOD (FMN2001) REWORK(201601) .
++VER (Z038) FMID(JADLD12) PRE(UI25246) .
++JCLIN.
/*
++SRC(FMN2POPT) TXLIB(FMN2SRC) DISTLIB(AFMNSAM1).
$$
FMN2SRC is a DD name pointing to a member with source code.
Q1: How can I know what's target library for the load module?
Q2: there is no assemble or linkedit jobstep. I assume it comes from SMP/E.
Q3: FMN2SRC DD - should it describe library or member? In other words:
DSN=MY.LIB or DSN=MY.LIB(MEM) ?
--
Radoslaw Skorupka
Lodz, Poland
---
Treść tej wiadomości może zawierać informacje prawnie chronione Banku
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być jedynie
jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś adresatem
niniejszej wiadomości lub pracownikiem upoważnionym do jej przekazania
adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie, rozprowadzanie
lub inne działanie o podobnym charakterze jest prawnie zabronione i może być
karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo, prosimy niezwłocznie
zawiadomić nadawcę wysyłając odpowiedź oraz trwale usunąć tę wiadomość
włączając w to wszelkie jej kopie wydrukowane lub zapisane na dysku.
This e-mail may contain legally privileged information of the Bank and is
intended solely for business use of the addressee. This e-mail may only be
received by the addressee and may not be disclosed to any third parties. If you
are not the intended addressee of this e-mail or the employee authorized to
forward it to the addressee, be advised that any dissemination, copying,
distribution or any other similar activity is legally prohibited and may be
punishable. If you received this e-mail by mistake please advise the sender
immediately by using the reply facility in your e-mail software and delete
permanently this e-mail including any copies of it either printed or saved to
hard drive.
mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa,
www.mBank.pl, e-mail: [email protected]
Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru
Sądowego, nr rejestru przedsiębiorców KRS 0000025237, NIP: 526-021-50-88.
Według stanu na dzień 01.01.2016 r. kapitał zakładowy mBanku S.A. (w całości
wpłacony) wynosi 168.955.696 złotych.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
This e-mail transmission contains information that is confidential and may be
privileged. It is intended only for the addressee(s) named above. If you
receive this e-mail in error, please do not read, copy or disseminate it in any
manner. If you are not the intended recipient, any disclosure, copying,
distribution or use of the contents of this information is prohibited. Please
reply to the message immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer system. Your
assistance in correcting this error is appreciated.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN