ISPF-Commands For Senior Software Developers (4 Of 5)

SRINIMF-Blog
SRINIMF-Blog
  1. How do I find for any non-numeric character?

A. Use picture string ‘-’.

32. How do I find for any alphabetic character?

A. Use picture string ‘@’.

33. How do I find for any uppercase alphabetic character?

A. Use picture string ‘>’.

34. How do I find for any lowercase alphabetic character?

A. Use picture string ‘<’.

35. How do I find for any non-display character?

A. Use picture string ‘.’ E.g., “f p’.’” finds the next instance of non-display character.

36. How can I split a line in ISPF editor?

A. Key in ‘TS’ in columns 1-6, position cursor at a point from where you want to split the line and press ENTER. This will result in splitting the line: the contents of line from where the cursor is positioned goes to the next line and the remaining portion will be retained in that line itself.

—TS—  This is first portion. It’s been split here.

^ Cursor is placed here.

Upon hitting ENTER, it splits into 2 lines as below:

——–  This is first portion.

——–                                  It’s been split here. ß next line

37. How do I join 2 lines?

A. You can do this by using overlay command. For e.g.,

——– This is line-1.

——– This is line-2.

Say, you want to join these 2 lines. First, you need to move the 2nd line to the position from where you need to join it in the first line. Then, key in ‘M’ in columns 1-6 of 2nd line and ‘O’ in columns 1-6 of 1st line.

—-O— This is line-1.

—-M—                       This is line-2.

Upon hitting ENTER, line-2 joins line-1.

——– This is line-1. This is line-2.

NOTE: If you key in ‘C’ instead of ‘M’ in the 2nd line, it joins the 2nd line to the first line and also retains the 2nd line.

  1. How do I see the value of the field stored in comp-3 format?

A. Type HEX ON and go to the location of the field and get the value from the two lines displayed below it.

39. ow do I get rid of the 4 to 5 message lines displayed at the beginning of the file in ISPF edit?

A. Use ‘RESET’ command.

40. How do I stop the standard numbers on Col 73-80 in the ISPF editor?

A. Type ‘NUM OFF’. Some Clients use Col 73-80 to mark their changes, in that case you HAVE to have NUM OFF as the option.

Advertisements

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.