You are here:
DBG/400
>
DBG400 Web
>
SourceCodeList
>
ClSource
>
ClMAKEPRGOUT
(revision 1) (raw view)
Edit
Attach
<verbatim> /* ************************************************************************** */ /* MAKEPRGOUT: Make all required PRGOUTQ utility objects */ /* Copyright (C) 2001 Martin Rowe <martin@dbg400.net> */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 of the License, or */ /* (at your option) any later version. */ /* */ /* This program is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* */ /* You should have received a copy of the GNU General Public License */ /* along with this program; if not, write to the Free Software */ /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* ************************************************************************** */ PGM DCL VAR(&LIBRARY) TYPE(*CHAR) LEN(10) VALUE('DBG400') DCL VAR(&SRCLIB) TYPE(*CHAR) LEN(10) VALUE('DBG400') DCL VAR(&TYPE) TYPE(*CHAR) LEN(1) RTVJOBA TYPE(&TYPE) IF COND(&TYPE *EQ '1') THEN(DO) SBMJOB CMD(CALL PGM(MAKEPRGOUT)) GOTO CMDLBL(ENDPGM) ENDDO ADDLIBLE LIB(&LIBRARY) POSITION(*AFTER QTEMP) MONMSG MSGID(CPF0000) /* Delete prior versions of objects, if there from an earlier MAKEUSRCRT */ /* Programs */ DLTPGM PGM(&LIBRARY/DBG193CL) MONMSG MSGID(CPF2105) DLTPGM PGM(&LIBRARY/DBG193R4) MONMSG MSGID(CPF2105) /* UIM Panels */ DLTPNLGRP PNLGRP(&LIBRARY/PRGOUTQ) MONMSG MSGID(CPF2105) /* Commands */ DLTCMD CMD(&LIBRARY/PRGOUTQ) MONMSG MSGID(CPF2105) /* Now create all required objects */ /* UIM Panels */ CRTPNLGRP PNLGRP(&LIBRARY/PRGOUTQ) + SRCFILE(&SRCLIB/QPNLSRC) /* Commands */ CRTCMD CMD(&LIBRARY/PRGOUTQ) PGM(&LIBRARY/DBG193CL) + SRCFILE(&SRCLIB/QCMDSRC) + HLPPNLGRP(&LIBRARY/PRGOUTQ) HLPID(PRGOUTQ) /* CL Programs */ CRTCLPGM PGM(&LIBRARY/DBG193CL) + SRCFILE(&SRCLIB/QCLSRC) /* RPG IV Programs */ CRTBNDRPG PGM(&LIBRARY/DBG193R4) + SRCFILE(&SRCLIB/QRPGSRC) DFTACTGRP(*YES) ENDPGM: RETURN ENDPGM </verbatim> -- Main.MartinRowe - 24 Jun 2005
Edit
|
Attach
|
P
rint version
|
H
istory
:
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Edit WikiText
|
More topic actions...
Topic revision: r1 - 24 Jun 2005 - 05:32:21 -
MartinRowe
DBG400
Log In
DBG400 Web
Index
Search
Changes
Notifications
Statistics
Site Map
Downloads
Webs
DBG400
Jamaro
Main
Sandbox
Sandtub
System
Send a link to this page
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DBG/400?
Send feedback