tldm-universe/Ardent/UV/APP.PROGS/DELCAT.GCI

53 lines
1.9 KiB
Plaintext
Raw Normal View History

2024-09-09 21:51:08 +00:00
*****************************************************************************
*
* Delete GCI subroutines from CATALOG space
*
* Module %M% Version %I% Date %H%
*
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
* This is unpublished proprietary source code of Ardent Software Inc.
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*
*******************************************************************************
*
* Maintenence log - insert most recent change descriptions at top
*
* Date.... GTAR# WHO Description.........................................
* 10/14/98 23801 SAP Change copyrights.
* 12/06/89 6707 DSC Correct menu banner text
* 10/27/89 5273 DSC Exit when given XX et al (formerly restarted)
* 07/25/88 - - Maintenence log purged at 5.2.1, see release 5.1.10.
*
*******************************************************************************
$INCLUDE UNIVERSE.INCLUDE FILENAMES.H
$INCLUDE UNIVERSE.INCLUDE MACHINE.NAME
*
prompt ""
CL = @(-4)
CL.ERR = @(0,23):CL
EQU BELL TO CHAR(7)
ERR = CL.ERR:BELL
MSG10=ERR:PROD.NAMEU:' General Calling Interface is not installed.'
1 OPEN '','DATA.TYPES' TO FVDATA.TYPES ELSE
PRINT MSG10:
INPUT Q: ; PRINT CL.ERR: ; STOP
END
print @( -1 )
print @( 0, 0 ):"General Calling Interface Administration" : @( 69, 0 ) : "DELCAT.GCI":
print@( 23, 1): "Delete GCI subroutines from CATALOG space":
print @( 0, 2 ): str( "-", 79 ):
print @( 0, 4 ):
NAME = 1
LOOP
print @( 0, 21):@(-4):
print @( 0, 21):"Enter GCI subroutine name:":
INPUT NAME
IF NAME='XX' OR NAME='xx' OR NAME='X' OR NAME='x' THEN STOP
print @( 0, 22):@(-4):
WHILE NAME NE "" DO
PERFORM "DELETE.CATALOG ":NAME
REPEAT
END