Progress/400
Product Guide


Start Native 4GL Client (STRPROCLI)

Use the STRPROCLI utility to execute Progress 4GL code. To execute this utility, you must provide the Progress 4GL code you wish to execute. All other parameters can be optional, depending on your specific environment needs.

Table 10–25 describes the STRPROCLI parameters.

Table 10–25: STRPROCLI Parameters
Parameter
Keyword
Value
Startup Procedure (-p)
STRPROC
Specify Progress 4GL code that the Native 4GL Client will execute. This parameter is required.
Database Name (-db)
SCHDB
Enter the name of the library that contains your server schema.
PROPATH Value
PROPATH
Enter a list of directory paths separated by commas. When you run a procedure, Progress searches for the procedure in the directory paths defined in the PROPATH in the order listed.
Working Directory
WRKDIR
Enter the directory to which Progress defaults for current working directory files.
Print File (-o)
PRTF
Enter the printer to use when processing the OUTPUT TO PRINTER statement in procedures.
Parameter File Name (-pf)
PRMFMBR
Enter the name of a parameter file that contains Progress startup parameters.
Parameter String (-param)
PRMSTR
Enter a character string that supplies information to the 4GL application.
Progress Parameters
PROPARMS
Enter any additional Progress parameters that you want to specify. You must use standard Progress syntax:
param -value -param -value
Fast Heap Size in KB
FASTHEAP
Specify how OS/400 manages memory during this session of the Native 4GL Client. Enter one of the following:
- Enter *DEFAULT to allocate the default
fast heap size chosen by IBM. This was
the behavior in previous Progress/400
releases.
- Enter *NONE to not allocate a fast heap.
The C program’s heap is used instead.
- Enter an integer value from 64 to 15,000
to allocate a specific amount of fast heap.
Log Client Messages
LOGMSG
Enter *YES to log client messages.
Enter *NO (the default) to not log client messages.

You can provide additional parameters to the Native 4GL Client with the STRPROCLI utility. There are two ways to do this:

Table 10–26 lists an effective and useful subset of parameters that the Native 4GL Client supports.

Table 10–26: Startup Parameters for STRPROCLI
Parameter
Description
Case Code Page (-cpcase)
Name of a case table within the CONVMAP.CP file.
Database Code Page (-cpdb)
Name of database code-page table.
Print Code Page (-cpprint)
Name of code page for printer output.
R-code in Code Page (-cprcodein)
Name of code page for reading r-code segments.
Stream Code Page (-cpstream)
Name of code page for stream I/O.
Physical Database Name (-db)
Name of the database to connect to when a Progress session starts.
DataServer (-Dsrv)
Keyword signifying that DataServer parameters follow.
Nested Blocks (-nb)
The maximum number of nested blocks.
Startup Procedure (-p)
The name of the procedure to run when starting Progress.
Parameter (-param)
A character string that provides information to the 4GL application.
Parameter File (-pf)
The name of a parameter file that contains startup parameters to run Progress.
Alternate Random Number Generator (-rand)
The type of random number generator.
Stack Size (-s)
The size of the stack in 1K units.
Merge Number (-TM)
The number of blocks or streams to be simultaneously merged during the sort process.

For detailed descriptions of these parameters, see the Progress Startup Command and Parameter Reference.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095