View previous topic :: View next topic
|
Author |
Message |
yogi.47eie
New User
Joined: 16 Aug 2006 Posts: 45 Location: india
|
|
|
|
Hi all,
we have one CICS online screen where its having more than 300 pages in which i need to go to the last page only always..
But its always painful to press F8 keys 300 times,is there any macro we can record and run to go to the last page directly,,,
Thanks in advance
Yogi R |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
sounds like a well designed screen.
most times this kind of silliness is avoided by good design - a drill-down functionality or a least a 'last page function'.
as far as the macro is concerned, that is an emulator question and your thread is in the incorrect forum.
plus, is there a constant number of pages, or just always a bunch? What will happen if there is only 299 pages and you transmit 300 PF8's. will it display the last page properly, or display an idiot message that says no more pages without displaying the last page? Those are questions you need to solve as you write the macro for the emulator. If you are using a dumb 3270 terminal, you will have to modifiy the cics pgm. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
I would suggest you first try changing the CICS program to
simply have a last page or "end of file" option.
If you have other situations where you need navigation/orchestration
of 3270 screens, then you should consider 3rd party vendor software. |
|
Back to top |
|
|
yogi.47eie
New User
Joined: 16 Aug 2006 Posts: 45 Location: india
|
|
|
|
Hi all,
Thanks a lot for the resposne...
is there any alternative way to go to the last page...
if you want to log in main frame session(its repetitive task) for which we record a macro & run it when ever you want to log in .... similar way can we record a macro & run... i hvae tried to recording & running but it ended with error code saying procedure is too long....
If any one is familier with these kind of macros,Plz help me????
Cheers
Yogi |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
and your emulator is ?????
By the way, if you are recording a logon and have your password automatically provided by the macro, that means you have a security violation. While few if any can get at your password in racf, to look at a macro is very easy, for anyone. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
I do hope your macro does not contain 300 send PF8 instructions.
suggest you create a loop. I imagine you should be scraping the screen looking for last page sentinals, etc...
as suggested before, the screen design sucks. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
Back to top |
|
|
yogi.47eie
New User
Joined: 16 Aug 2006 Posts: 45 Location: india
|
|
|
|
Hi all,
Thanks again for the response..
reg login macro - eventhough we have recorded log in macro it will ask the password as per the RACF(here the recorded macro will ask the password and goes to session 1 say session 1,then goes task page which will have the task to be done today etc...)
eventhough i am CICS programmer & since we are in support we dont have much more time to look in to these kind of enhancements.. anyway i will have a follow up & try to incorporat the chnages to the screen itself....
Regards
Yogi |
|
Back to top |
|
|
|