Information
Space announcement: BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.

Editing with line commands


File-AID supports most of the familiar ISPF Edit line commands and has some additional commands. For a complete list of valid edit line commands, see File-AID/MVS Reference Summary. The following example illustrates using some of the File-AID line commands.

C (Copy) line command

You can place one or more copies of the data on a line to one or more destinations using the destination line commands A (After), B (Before) or H (Here).

Edit - Character Mode (Copy Line Command)

image2021-6-16_14-56-16.png

Steps:

  1. Type a C in line 2.
  2. Type an A in the sequence number field of line numbers 6 and 9.
  3. Type an A3 in the sequence number field of line number 12.
  4. Press Enter. File-AID inserts a single copy of the data in line number 2 after line numbers 6 and 9 and three copies of the data after line number 12. The inserted copies and the resulting change to the line numbers are illustrated in the following figure.

C (Copy) Line command Result

Edit - Character Mode - After Copy

File-AID - Edit - USERID9.FASAMP.EMPLOYE1 --------------- COLUMNS 000001 000071
 COMMAND ===>                                                  SCROLL ===> PAGE
 ****** ***************************** TOP OF DATA ******************-CAPS OFF-*
 000001 00090 MARTIN         EDWARD    M  AIRPLANE MANUFACTURER         42789012
 000002 00100 MULSTROM       ROBERTA   A  HOLLYWOOD SEAMSTRESS          34657365
 000003 00200 JACKSON        JOSEPH    C  ORATOR                        27558717
 000004 10000 ANDREWS        GEORGE       ACTOR                         57631203
 000005 10001 SMITH          MARY         ACTOR                         57631203
 000006 15000 MURPHY         RONALD    L  PAINTER                       98765432
 ==SEQ> 00100 MULSTROM       ROBERTA   A  HOLLYWOOD SEAMSTRESS          34657365
 000008 18034 SCHNEIDER      ELLEN     C  NURSE                         34155954
 000009 21035 JONES          GEORGE    B  COUNTRY SINGER                46381345
 000010 25100 ROBERTS        WILLIAM   R  POLITICIAN                    87956332
 ==SEQ> 00100 MULSTROM       ROBERTA   A  HOLLYWOOD SEAMSTRESS          34657365
 000012 27007 ALLEN          JOYCE     M  AUTHOR                        78345833
 000013 30001 RICHARDS       REX       W  RODEO CLOWN                   63276453
 000014 31000 SAVAGE         JONATHON  C  ELECTRICIAN                   34856799
 ==SEQ> 00100 MULSTROM       ROBERTA   A  HOLLYWOOD SEAMSTRESS          34657365
 ==DUP> 00100 MULSTROM       ROBERTA   A  HOLLYWOOD SEAMSTRESS          34657365
 ==DUP> 00100 MULSTROM       ROBERTA   A  HOLLYWOOD SEAMSTRESS          34657365
 000018 34010 SMITH          JANET        AIRLINE ATTENDANT             55778298
 000019 34011 JACOBS         DIANA        DOCTOR                        22536839
 000020 36010 SIMPSON        ALEX         CARTOONIST                    12345678
 000021 39310 BARNETT        EDWARD    E  SALESMAN                      54378914

More about the C (Copy) line command

  • Multiple destination markers (A, B, or H) may be used with any single line copy (C) or move (M) or block copy (CC) or block move (MM).
  • Multiple copy or move lines or multiple blocks are not permitted.
  • Use the OVERLAY primary command or the OVLY line command to establish an overlay mask before using the O (Overlay) or OO (Overlay block) line commands as a destination for C (Copy) or M (Move).

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Compuware File-AID/MVS 21.01