Operands, Return codes, Example – IBM SC34-5764-01 User Manual

Page 268: Note, Macro, Msgline

Advertising
background image

Operands

prefix

specifies any standard prefix (such a C, CC, M, MM, B, A) that is entered during an edit session.

Return Codes

0

Normal return

202

Invalid operand

Example

'LPREFIX D'

This example causes the deletion of the current file line.

Note

LPREFIX is provided to let you use the prefix commands from within edit macros.

MACRO

MACRO

fileid

MACRO calls a macro.

Operands

fileid

specifies the file ID of the macro you want to run. If this file ID includes a file type suffix, then an
attempt is made to call an exec with that suffix. Otherwise, an attempt is made to call an exec whose
suffix is EXEC.

Return Codes

n

specifies the return code set by the exit of the called exec

0

Normal return

-3

Exec not found

-10

Exec name not specified

-11

Invalid exec name

-12

GETMAIN error

-99

Internal error

Example

'MACRO POOL1:\USERS\USER1\TEST'

This example calls the macro, POOL1:\USERS\USER1\TEST.EXEC.

Note

Macros have the ability to make calls to the REXX/CICS editor server. Any command that you can enter
from the command line of the editor can be run from a macro.

MSGLINE

MSGLINE

number

OFF
INFO

MSGLINE sets the message line display preferences.

Text Editor

246

CICS TS for VSE/ESA: REXX Guide

Advertising