If i have a normal ISPF screen like the one shown below
Now, I already have a rexx script that gives me the number of lines in a particular pds (just simply the number of lines, regardless of what's in those lines) Now I want to design a command in ispf, such that on entering that command (as depicted by the arrow in the image), that particular rexx script is automatically executed and the corresponding file name beside which the command is typed, is sent as input to my rexx script. I can even post the rexx script if needed, in case changes are to be made to it too.