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

Page 276: Operands, Trunc, Synonym top trunc

Advertising
background image

STRIP

STRIP strips the trailing blanks off all file lines.

Return Codes

0

Normal return

Example

'STRIP'

This example strips all trailing blanks of each file line.

SYNONYM

SYNONYM

syn

command

SYNONYM assigns a command action to any other valid command.

Operands

syn

specifies any valid command that executes the command action for which it is a synonym.

command

specifies any valid command.

Return Codes

0

Normal return

Example

'SYNONYM GL GETLIB'

This example makes GL equivalent to the command GETLIB.

TOP

TOP

TOP scrolls to the top of the file.

Return Codes

0

Normal return

Example

'TOP'

This example scrolls to the top of the file.

TRUNC

TRUNC

column

TRUNC truncates each line in the file to the given length.

Text Editor

254

CICS TS for VSE/ESA: REXX Guide

Advertising