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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 16 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am


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