/* ************************************************************************** */
/* MOVOUTQ: Move output queue */
/* 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 */
/* ************************************************************************** */
CMD PROMPT('Move output queue')
PARM KWD(OUTQ) TYPE(NAME2) MIN(1) PROMPT('Output +
queue')
PARM KWD(TOOUTQ) TYPE(NAME2) MIN(1) PROMPT('To +
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')
NAME2: QUAL TYPE(*SNAME) LEN(10)
QUAL TYPE(*CHAR) LEN(10) DFT(*LIBL) +
PROMPT('Output queue Library')
--
MartinRowe - 24 Jun 2005