/* ************************************************************************** */
/* CRTDBGSCP: Create database generation scripts                              */
/* Copyright (C) 2000  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('Create DB generation script')
             PARM       KWD(SCRIPT) TYPE(*CHAR) LEN(10) MIN(1) +
                          PROMPT('Script name')
             PARM       KWD(LIB) TYPE(*SNAME) MIN(1) PROMPT('DBG +
                          library to base script on')
             PARM       KWD(SCRIPTTYPE) TYPE(*CHAR) LEN(5) +
                          RSTD(*YES) DFT(*LINK) VALUES(*CPYF *LINK) +
                          MIN(0) PROMPT('Script type; CPYFs or Links')
             PARM       KWD(PRIMARY1) TYPE(*SNAME) MIN(0) +
                          PMTCTL(LINK) PROMPT('Primary file for +
                          *LINK scripts')
             PARM       KWD(PRIMARY2) TYPE(*SNAME) MIN(0) +
                          PMTCTL(LINK) PROMPT('Additional primary +
                          if required')
             PARM       KWD(PRIMARY3) TYPE(*SNAME) MIN(0) +
                          PMTCTL(LINK) PROMPT('Ditto')
 LINK:       PMTCTL     CTL(SCRIPTTYPE) COND((*EQ *LINK))

-- MartinRowe - 24 Jun 2005


This topic: DBG400 > SourceCodeList > CmdSource > CmdCRTDBGSCP
Topic revision: r1 - 24 Jun 2005 - 06:13:50 - MartinRowe
 
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