Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
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
 
Refreshing the Map for every 30seconds to view updated data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Pulla Reddy Arveti

New User


Joined: 15 Sep 2005
Posts: 3
Location: Chennai

PostPosted: Thu Sep 15, 2005 6:52 pm    Post subject: Refreshing the Map for every 30seconds to view updated data
Reply with quote

Hi All,

How to refresh the screen for every 30seconds/one minute to get or show updated data on the screen without pressing ENTER key?
If user enters a refreshing time we have to use this refreshing time and has to refresh the screen for every time interval the user entered. Here also we shoud not press ENTER key except when entering refresh time.

Thanks,
Reddy
icon_razz.gif
Back to top
View user's profile Send private message

mallikiran

New User


Joined: 07 Sep 2005
Posts: 49

PostPosted: Fri Sep 16, 2005 9:05 pm    Post subject:
Reply with quote

You may use

EXEC CICS START
TRANSID (WS-TRANSID)
AFTER
SECONDS(30)
END-EXEC.

EXEC CICS
RETURN
END-EXEC.

This would issue a command to start the transaction after 30 seconds and return control to CICS.
Back to top
View user's profile Send private message
Pulla Reddy Arveti

New User


Joined: 15 Sep 2005
Posts: 3
Location: Chennai

PostPosted: Mon Sep 19, 2005 8:31 pm    Post subject: Re: Refreshing the Map for every 30seconds to view updated d
Reply with quote

Thanks Mallikiran.
I tried with the option but it's not working.

I've a doubt.
IF EIBCALEN = 0 THEN
PERFORM DATE-PARA
PERFORM SEND-MAP
PERFORM START-TRANSACTION
ELSE
PERFORM RECEIVE MAP.

RECEIVE-MAP.
IF EIBAID = DFHENTER
PERFORM SEND-MAP
PERFORM START-TRANSACTION
START-TRANSACTION.
EXEC CICS START TRANSID()
INTERVAL(000030)
TERMID()
END-EXEC.

Will this code works?
Back to top
View user's profile Send private message
p.m.s.Reddy
Warnings : 1

New User


Joined: 20 Sep 2005
Posts: 11
Location: chennai

PostPosted: Tue Sep 20, 2005 11:30 am    Post subject:
Reply with quote

Hi Pulla Reddy,

I tried with ur code but its not working.One thing i am not getting why r u using that eibcalen.
Back to top
View user's profile Send private message
Pulla Reddy Arveti

New User


Joined: 15 Sep 2005
Posts: 3
Location: Chennai

PostPosted: Tue Sep 20, 2005 3:49 pm    Post subject: Refreshing the Map for every 30seconds to view updated data
Reply with quote

Hi M.S.Reddy,
I'm using that eibcalen for pseudo conversation.If user enters his refreshing time, we have to use this refresing time and has to refresh the map.So we have to check eibcalen = 0 or not.

Thanks
Back to top
View user's profile Send private message
mallikiran

New User


Joined: 07 Sep 2005
Posts: 49

PostPosted: Tue Sep 20, 2005 6:19 pm    Post subject:
Reply with quote

This is how I would code it:

PROCEDURE DIVISION.
EXEC CICS RECEIVE MAP(MAPNAME)
INTO (WS-MAPNAME)
RESP(WS-RESP)
END-EXEC.

Insert routine to read database
Insert routine to build map
Insert routine to send map

EXEC CICS START
TRANSID (WS-TRANSID)
AFTER
SECONDS(WS-MAP-INTERVALI)
END-EXEC.

EXEC CICS
RETURN
END-EXEC.

Ensure that MDT is on for all fields so that even if user does not change the previous value, that value is always returned when RECEIVE MAP is done.
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 Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us