Consultor Eletrônico



Kbase 11055: PROGRESS/400 UTILITY COMMANDS
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
PROGRESS/400 UTILITY COMMANDS


INTRODUCTION:
=============
PROGRESS/400 Utility Commands

WHY YOU NEED TO KNOW THIS:
===========================
This Technical Support Knowledgebase entry explains the use of
the PROGRESS/400 commands which are neccessary to set up a
PROGRESS/400 environment and enable PROGRESS users to access
AS/400 databases using PROGRESS 4GL applications.

ON LINE PROCEDURES OR UTILITIES:
===============================

PROUPDXD - Creates the PROGRESS extended data dictionary.
This command creates these 7 files in the specified library
The files are:
PROFIELDL1
PROFIELDL2
PROFIELDP
PROFILEL1
PROFILEL2
PROFILEP
PROINDEXP

PROLODDFN - PROGRESS LOAD DATA DEFINITIONS
Loads the file definitions into the extended data
dictionary and creates the files in the library
specified. (Translates a PROGRESS data definition
file into an AS/400 database).
It also creates the PROGRESS lock table in the
specified library. DATFMT allows you to specify how
you want the DATE field to be defined on the AS/400.

PROLODDTA - PROGRESS LOAD DATA
Loads data to the library/files specified.

PRODMPDFN - PROGRESS DUMP DEFINITIONS
Dumps the definitions of all the files or one file
contained in the dictionary specified.
(Creates a PROGRESS data definition file).
The dump will create a file with or without the AS/400
characteristics. Depending on the users choice, the
options may be changed or left to default to the AS/400
characteristics.

PRODMPDTA - PROGRESS DUMP DATA
Dumps the data from all the files or one file in the
dictionary specified to an AS/400 physical file. If
*ALL is specified, the AS/400 file is created with
a member for each file contained in the extended
data dictionary. (Dumps data in a PROGRESS format
from an AS/400 database).

PRODUPDCT - PROGRESS DUPLICATE DICTIONARY
Duplicates an existing data dictionary. If the DUPF
(dupliate file) parameter is *ALL, PRODUPDCT will
duplicate all the files, regardless of what library
they reside in, and put them into the dictionary/library
specified. If the DUPF paramter is *DCT,
PRODUPDCT will duplicate only the files that reside
in the data dictionary library and copy them to the
dictionary/library specified. The files that reside
in libraries other than the existing dictionary are
added to the new dictionary, but remain in there
respective libraries. Their definitions are also
removed from the old dictionary.

PROCRTLKT - PROGRESS CREATE LOCK TABLE
Creates a *USRSPC called PROLKT.
If this object exists, PROGRESS will keep track
of transactions that have a record locked, SHARE-LOCK
or EXCLUSIVE-LOCK. It will also track a transaction
waiting for a record that is locked, SHARE-LOCK or
EXCLUSIVE-LOCK. (Creates/Updates a PROGRESS/400
lock table).

PRODFNRTG - PROGRESS DEFINE ROUTER
Allows the user to set run-time priority for
*CLS PROSRV and BATPROSRV.
Also allows you to add or modify the PROSNA or BATPROSNA
routing entries. (Enables you to tailor the AS/400
environment for the PROGRESS/400 server process).

PROGSRVR - PROGRESS SERVER
The library where you restore the PROGRESS server
software. It must be named PROGSRVR. Do no use
the PROGSRVR library to store any other objects.
PROGSRVR must be in each users' library list.

PRODEMO - PROGRESS DEMO
The library where you restore the PROGRESS
demo database. It must be named PRODEMO.

BATPROSNA - BATCH MODE
Starting PROGRESS with a batch command or a
-b startup parameter will start the default server
program BATPROSNA in library PROGSRVR.
It is prefixed to the -S startup value.
(The -S startup value connects to prosna.progsrvr).
A job log is created only when a job ends
abnormally with an AS/400 severity level
of 20 or higher.

BATPROSNAL - BATCH MODE
When a program is started after connecting
using a -S prosnal.progsrvr in batch mode,
BATPROSNAL is started and stored in the
PROGSRVR library.
It will save a job log each time you
successfully connect to the AS/400.


REFERENCES TO WRITTEN DOCUMENTATION:
====================================

PROGRESS/400 Server Guide

Progress Software Technical Support Note # 11055