/* ************************************************************************** */
/* 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
--
MartinRowe - 24 Jun 2005