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 Usergroups 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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


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