Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read data present at the cursor position

Status
Not open for further replies.

fantafanta

Programmer
Jul 7, 2010
4
GB
Hi all,

The below code will popup the data present in that member, which is provided at run time.

/* REXX - TO POPUP A THE DATA PRESENT IN A MEMBER */

PARSE PULL MEM

ADDRESS
"ISPEXEC ADDPOP"
"ISPEXEC BROWSE DATASET('DLMG0.PDS.COPYBOOK("MEM")')"
"ISPEXEC REMPOP"

When we execute this, it waits for input (which we need to type manually).

But what I need is when it asks for member i will place my cursor in particular position where the member is present and hit enter, it should take that as member name until the next space character.

 
And edit macros only work in edit, not browse...

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top