Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
doubt when executing a file when logging in the system

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Renato Zangerolami

New User


Joined: 06 Dec 2019
Posts: 26
Location: Brazil

PostPosted: Fri Feb 07, 2020 6:07 pm    Post subject: doubt when executing a file when logging in the system
Reply with quote

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
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2190
Location: Silicon Valley

PostPosted: Sat Feb 08, 2020 11:48 am    Post subject: Reply to: doubt when executing a file when logging in the system
Reply with quote

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
View user's profile Send private message
Renato Zangerolami

New User


Joined: 06 Dec 2019
Posts: 26
Location: Brazil

PostPosted: Mon Feb 10, 2020 9:25 pm    Post subject: Reply to: doubt when executing a file when logging in the system
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem getting record length of a re... amitc23 COBOL Programming 2 Thu Jul 02, 2020 10:52 pm
No new posts Want to check if trailer count is 0 a... rohanthengal JCL & VSAM 10 Fri Jun 26, 2020 10:47 am
No new posts File transfer to remote system using ... kalyan.lc5 TSO/ISPF 2 Wed Jun 24, 2020 1:24 pm
No new posts How to remove remote file older than ... ssuthagar All Other Mainframe Topics 4 Thu Jun 04, 2020 6:26 am
No new posts How to fetch the latest record from a... Dinesh Mani DFSORT/ICETOOL 8 Tue Jun 02, 2020 5:34 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us