/* ************************************************************************** */
/* ACT0UTQ: Delete/Hold/Release/Save output queue spooled files               */
/* Copyright (C) 2003  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('Action 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(ACTION) TYPE(*CHAR) LEN(3) RSTD(*YES) +
                          DFT(RLS) VALUES(DLT HLD RLS SAV) +
                          PROMPT('Spooled file action')
 NAME2:      QUAL       TYPE(*SNAME) LEN(10)
             QUAL       TYPE(*CHAR) LEN(10) DFT(*LIBL) +
                          PROMPT('Output queue Library')

-- MartinRowe - 24 Jun 2005
Topic revision: r2 - 01 Oct 2014 - 19:37:01 - 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