Question about ISPF start service



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Question about ISPF start service

Postby marshall25 » Wed May 08, 2013 8:35 am

hi all,

i just read the ISPF start service for ISPEXEC SELECT PGM(ISPSTRT) PARM(some_dialog),

i tested,
ISPEXEC SELECT PGM(ISPSTRT) PARM(3;4)
it worked to goto 3.4 in new screen.

i don't know what kind of 'some_dialog' can be used in PARM, if i want to goto 3.4 and enter, how can i write the dialog?
marshall25
 
Posts: 26
Joined: Mon Jun 20, 2011 9:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: Question about ISPF start service

Postby Stefan » Wed May 08, 2013 11:43 am

The program ISPSTRT creates a new (splitted) screen similar to the SPLIT command. The parameter can be used to issue any command on this newly created screen and simulate the ENTER key. So you are able to start any application in a new screen programmatically. ISPSTRT is not about "writing a dialog" but gives you the starting point for invoking a program, a command, or select a panel option.
There are 10 types of people in the world: Those who understand binary, and those who don't.
User avatar
Stefan
 
Posts: 27
Joined: Tue Aug 21, 2012 3:02 pm
Has thanked: 0 time
Been thanked: 2 times

Re: Question about ISPF start service

Postby marshall25 » Wed May 08, 2013 3:00 pm

Stefan wrote:ISPSTRT is not about "writing a dialog" but gives you the starting point for invoking a program, a command, or select a panel option.


what is the command if i want to simulater 'enter' function in ISPF?
marshall25
 
Posts: 26
Joined: Mon Jun 20, 2011 9:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: Question about ISPF start service

Postby Pedro » Wed May 08, 2013 6:26 pm

what is the command if i want to simulater 'enter' function in ISPF?

Can you elaborate on what you want to do? And where you want to do it?
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: Question about ISPF start service

Postby marshall25 » Thu May 09, 2013 8:09 am

Pedro wrote:Can you elaborate on what you want to do? And where you want to do it?


what i want to do is i want to write a rexx to simulater 'enter' key in ISPF, i can used START SERVICE to start new screen 3.4(panelid = ISRUDLP), and i want add 'enter' key, after issue the rexx to start new screen , it will show 3.4+enter(paneilid = ISRUDSL0)
where i want to do is in ISPF envir, like under 3.4 then enter
marshall25
 
Posts: 26
Joined: Mon Jun 20, 2011 9:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: Question about ISPF start service

Postby NicC » Thu May 09, 2013 5:42 pm

Totally unclear and not sure why you woukd want to do this anyway.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Question about ISPF start service

Postby Pedro » Fri May 10, 2013 2:07 am

The DSLIST command does exactly what you are trying to do.

Examine the ISP command table in ISPF option 3.9 and study the definition of DSLIST. You want to replicate the exact same SELECT statement into your rexx program. Except, replace &ZPARM with the dataset prefix of your choosing.

I did something similar, but of course, I did not follow my own advice. I actually issued the DSLIST command:

/*-------------------------------------------------------------------*/
/* view DSLIST of the superc files                                   */
/*-------------------------------------------------------------------*/
dslist_supr:                                                           
ispfcmd = "DSLIST  '"|| superc_dsn || "'"                                 
"DISPLAY PANEL(aaaaaaa) COMMAND(ISPFCMD)"                             
return                                                                 
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post