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
 
Ims dc - Populate current time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
cgk_106

New User


Joined: 22 Dec 2006
Posts: 21
Location: chennai

PostPosted: Mon May 28, 2007 10:32 pm    Post subject: Ims dc - Populate current time
Reply with quote

Hi,

Anyone can tell me how to populate the 'current system time' in the Ims dc application program.. icon_cry.gif
Back to top
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon May 28, 2007 11:04 pm    Post subject:
Reply with quote

Do you want to display time in IMS DC online screen? or is it you want to capture time in IMS DC Cobol program?

In MFS you can code TIME to display TIME on screen.

In COBOL IMS DC program you can use any standard COBOL TIME function,

Also in COBOL IMS DC you can get the TIME from IO PCB Mask.
Back to top
View user's profile Send private message
cgk_106

New User


Joined: 22 Dec 2006
Posts: 21
Location: chennai

PostPosted: Tue May 29, 2007 12:09 am    Post subject:
Reply with quote

Hi !!
it is really a quick answer.. Thanks for your early reply But could you explain me how to use the TIME from the (IO-PCB-MASK in the online MFS)
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue May 29, 2007 1:08 am    Post subject:
Reply with quote

When program gets executed IO PCB is automatically populated with actual values.

If you want to us IO PCB Time, then you dont have to do anything other than using the field.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Tue May 29, 2007 2:13 pm    Post subject:
Reply with quote

Example
Back to top
View user's profile Send private message
Libu Thomas

New User


Joined: 01 Jan 2007
Posts: 6
Location: India

PostPosted: Wed May 30, 2007 1:45 pm    Post subject:
Reply with quote

Use 'TIME' to get the system time.


eg:
CURTIME DFLD POS=(1,60),LTH=8,ATTR=(ALPHA,PROT,HI)

MFLD (CURTIME,TIME)


DONT USE LTH parameter in MFLD
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm

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