Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Macro to press PF8 key 300 times

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
yogi.47eie

New User


Joined: 16 Aug 2006
Posts: 28
Location: india

PostPosted: Wed Jul 16, 2008 1:17 pm    Post subject: Macro to press PF8 key 300 times
Reply with quote

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

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Jul 16, 2008 1:49 pm    Post subject:
Reply with quote

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

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Jul 16, 2008 5:27 pm    Post subject:
Reply with quote

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

New User


Joined: 16 Aug 2006
Posts: 28
Location: india

PostPosted: Thu Jul 17, 2008 3:53 pm    Post subject: Reply to: Macro to press PF8 key 300 times
Reply with quote

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Jul 17, 2008 4:56 pm    Post subject:
Reply with quote

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Jul 17, 2008 5:00 pm    Post subject:
Reply with quote

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

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Thu Jul 17, 2008 6:43 pm    Post subject:
Reply with quote

yogi.47eie,

If you are a CICS programmer, why are you trying to fool around
with 3270 screen emulator recorder/playback ?

Change the CICS application program, or acquire some vendor
software that can perform screen navigation.

Try::
http://cicswiki.org/cicswiki1/index.php?title=Category:Process_Automation
Back to top
View user's profile Send private message
yogi.47eie

New User


Joined: 16 Aug 2006
Posts: 28
Location: india

PostPosted: Mon Jul 21, 2008 11:39 pm    Post subject: Reply to: Macro to press PF8 key 300 times
Reply with quote

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

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm

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