View previous topic :: View next topic
|
Author |
Message |
krsk
New User
Joined: 24 Jun 2008 Posts: 23 Location: INDIA
|
|
|
|
Hello,
Quote: |
In SDSF, after you type SE and press Enter, it should put you into the editor with your job output shown. In the ISPF command line, type KEYS. If that does not work, please explain what message you get.
|
I went to SDSF, by using TSO SDSSF ST, I typed SE infront of the job and then, in the command line I typed KEYS. It is showing invalid command.
Thanking you, |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I went to SDSF, by using TSO SDSSF ST, I typed SE infront of the job and then, in the command line I typed KEYS. It is showing invalid command. |
you did not enter the ispf sdsf application
You used the sdsf tso command with its builtin display logic
You should have noticed that by entering se, You did not get an edit session
but a browse session of the jes dataset ( tested )
if You enter the sdsf application thru the ISPF interface all the ISPF facilities will be available ( tested ) |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Their is usually a local menu panel that is used to call SDSF.
Or you could use an (untested) exec like this:
Code: |
/* rexx */ Parse arg option
Address ISPEXEC "SELECT PGM(ISFISP) NEWAPPL(ISF) PARM("option")" |
|
|
Back to top |
|
|
Josh Keller
New User
Joined: 08 Oct 2007 Posts: 36 Location: Columbia, SC
|
|
|
|
Pedro wrote: |
coding:
1. write ISPF editor macro that uses CURSOR macro command to determine which line and which column the cursor is on.
2. Use LINE macro command to get the line.
|
Just as an FYI (and some probably already know), you can use ZSCREENI variable to obtain text from the screen rather than limiting to just an Edit Macro LINE command.
Code: |
"ISPEXEC VGET (ZSCREENI,ZSCREENC,ZSCREENW)"
ZSCREENC = ZSCREENC + 1
ROW=(ZSCREENC)%ZSCREENW
COL=ZSCREENC - (ZSCREENW*ROW)
ROW = ROW + 0
IF COL <= 0 THEN ROW = ROW -1
LINETEXT=SUBSTR(ZSCREENI,((ROW*ZSCREENW)+1),ZSCREENW)
|
Then you can parse LINETEXT to pull out the DSN and use Pedro's instructions to set it up. This would allow you to pull the DSN out while viewing JESJCL for example, and you don't need an edit session. |
|
Back to top |
|
|
krsk
New User
Joined: 24 Jun 2008 Posts: 23 Location: INDIA
|
|
|
|
Hello,
Yeah! I got the answer to the problem. Like Pedo said, in SDSF(entered through the menu option), we can use the same rexx routine for editing the datasets.
Thanking you, |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello KRSK,
Thank you for letting us know you have a solution
d |
|
Back to top |
|
|
|