Process Help

MACST - start the routing of interactive input to a character format macro file.

 

Macro Command Name

Menu Path

Link to Command Table

MACST

Tools | Macro | Start Recording

Click here

Introduction

Start the storage of all subsequent interactive input in a character format system macro file.

How to use

The macro name may be specified following the MACST command name. The macro name supplied is then appended to the !START command and written to the system macro file. If no macro name is specified in this way, a message is immediately displayed and the user must supply one interactively in response to a prompt.

Once the !MACST command has been given it remains in force until the !MACEND command is executed.

 


Files, Fields and Parameters

Input Files

Name

Description

I/O Status

Required

Type

Output Files

Name

I/O Status

Required

Type

Description

Fields

Name

Description

Source

Required

Type

Default

Parameters

Name

Description

Required

Default

Range

Values


Notes

If the macro name is not specified following the MACST command name, the message:

        MACRO NAME NOT SUPPLIED, PLEASE SUPPLY NAME

is displayed , followed by a prompt for the name:

       MACRONAME><macroname>

If no errors are detected the message:

        STORAGE OF INTERACTIVE INPUT TO MACRO STARTED

is displayed.

If the system file specified already exists, all subsequent interactive input is appended to the existing contents of the file. In this way, a number of macros can be created in a macro library (in this case a single *.mac system file) from different interactive sessions.

 


Example

!MACST M1
SYSFILE>MYMAC1.DAT

STORAGE OF INTERACTIVE INPUT TO MACRO STARTED
.
.
.
!MACEND


 

Error and Warning Messages

Message

Description

Solution

>>> ERROR READING FROM MACRO SYSTEM FILE ffffffff.fff <<<
 

An error has been detected in reading from the specified system macro file. Fatal; the process is exited.

Check that the file exists; check that it has Read/Write attributes; open the file in a text editor and check that it is not corrupt.

>>> ERROR WRITING TO MACRO SYSTEM FILE ffffffff.fff <<<

An error has been detected in writing !START <macroname> to the system macro file. Fatal; the process is exited.

Check that the file exists; check that it has Read/Write attributes; open the file in a text editor and check that it is not corrupt.