/* ************************************************************************** */
/* CHG0UTQSPL: Change output queue spooled files by CMD parms                 */
/* Copyright (C) 2006  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 */
/* ************************************************************************** */
             CMD        PROMPT('Change Output Queue Spoolfiles')
             PARM       KWD(OUTQ) TYPE(NAME2) MIN(1) PROMPT('Output +
                          queue')
             PARM       KWD(FILE) TYPE(*GENERIC) LEN(10) DFT(*ALL) +
                          SPCVAL((*ALL ' ')) PROMPT('Spooled file, +
                          generic or *ALL')
             PARM       KWD(USRDTA) TYPE(*CHAR) LEN(10) DFT(*ALL) +
                          SPCVAL((*ALL ' ')) CASE(*MIXED) +
                          PROMPT('User Data, start char  or *ALL')
             PARM       KWD(USER) TYPE(*SNAME) DFT(*ALL) +
                          SPCVAL((*ALL ' ') (*CURRENT)) +
                          PROMPT('User, *CURRENT or *ALL')
             PARM       KWD(STRNBR) TYPE(*DEC) LEN(5 0) DFT(*START) +
                          SPCVAL((*START 0)) PROMPT('Starting +
                          spooled file number')
             PARM       KWD(ENDNBR) TYPE(*DEC) LEN(5 0) DFT(*END) +
                          SPCVAL((*END 99999)) PROMPT('Ending +
                          spooled file number')
             PARM       KWD(STATUS) TYPE(*CHAR) LEN(6) RSTD(*YES) +
                          DFT(*ALL) VALUES(*ALL *HLD *SAV *RDY) +
                          SPCVAL((*RDY *READY) (*HLD *HELD) (*SAV +
                          *SAVED)) PROMPT('Spooled file status')
             PARM       KWD(CMDPARMS) TYPE(*CHAR) LEN(500) +
                          PROMPT('CHGSPLFA parms to use')
 NAME2:      QUAL       TYPE(*SNAME) LEN(10)
             QUAL       TYPE(*CHAR) LEN(10) DFT(*LIBL) +
                          PROMPT('Output queue Library')

-- MartinRowe - 08 Jan 2007
Topic revision: r2 - 01 Oct 2014 - 19:37:00 - UnknownUser
 
This site is powered by FoswikiCopyright © 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