View previous topic :: View next topic
|
Author |
Message |
Renato Zangerolami
New User
Joined: 06 Dec 2019 Posts: 28 Location: Brazil
|
|
|
|
I would like to know if you have another way to run a program automatically when you log in to the system, below is the code I made:
/*rexx*/
zstart ="ispf;6; ex 'name of program' "
address ispexec "vput zstart profile" |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2585 Location: Silicon Valley
|
|
|
|
Did that work? ZSTART only applies when you are already starting ISPF and (maybe ?) when no other parameters are specified.
I think the syntax has to be similar to the ISPSTART command. Try something like this:
Code: |
zstart ="CMD(ex my.exec(mysetup))"
address ispexec "vput zstart profile" |
You run that exec once and while you are already in ISPF. Afterwards, your command should be executed every time you start ISPF.
Each site is somewhat different. Ask your peers or system programmers for how to start ISPF automatically.
The default logon panel has a 'COMMAND' field where you can put your ISPF command. But some sites have a custom logon panel. |
|
Back to top |
|
|
Renato Zangerolami
New User
Joined: 06 Dec 2019 Posts: 28 Location: Brazil
|
|
|
|
Hello Pedro.
My code worked, the only drawback is that the home screen is on the command screen.As I understand it, the ex is executed after logon, the same way when you call a program via the command line.
Does your command automatically insert the ex into the standard control panel? If not, can you tell me if there is a command to automatically insert it? |
|
Back to top |
|
|
|