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
 

 

Accept command to get the sysstem date in CICS

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
santhoshk

New User


Joined: 07 Dec 2009
Posts: 4
Location: bangalore

PostPosted: Tue Oct 11, 2011 6:40 pm    Post subject: Accept command to get the sysstem date in CICS
Reply with quote

HI ,

Please help me to get the system date using accept command in CICS .
please help me the syntax.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Tue Oct 11, 2011 6:44 pm    Post subject:
Reply with quote

You don't use accept -- EXEC CICS ASKTIME and EXEC CICS FORMATTIME are used instead.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Oct 11, 2011 6:44 pm    Post subject: Reply to: Accept command to get the sysstem date in CICS
Reply with quote

why not look Yourself at the manuals ( link at the top of the page )
if something is not clear ( in the manuals ) somebody will be happy to explain
Back to top
View user's profile Send private message
santhoshk

New User


Joined: 07 Dec 2009
Posts: 4
Location: bangalore

PostPosted: Tue Oct 11, 2011 6:55 pm    Post subject: Reply to: Accept command to get the sysstem date in CICS
Reply with quote

i checked in the manual , there is no syntax to use accept command to get date in CICS .

can i anyone give the code to get system date using accept command in CICS.

THANKS
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Tue Oct 11, 2011 7:02 pm    Post subject:
Reply with quote

Quote:
can i anyone give the code to get system date using accept command in CICS.
If you click on the Manuals link at the top of THIS page, find the CICS Language Reference manual, and read its list of commands,
you will find there is no accept command in CICS.
What you want cannot be done, period. If you wanted to use the correct CICS commands such as ASKTIME, you can get the system date.

Since your question was asked and answered and you are ignoring the answer, this topic is locked.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Oct 11, 2011 7:03 pm    Post subject: Re: Reply to: Accept command to get the sysstem date in CICS
Reply with quote

santhoshk wrote:
can i anyone give the code to get system date using accept command in CICS.
Doesn't reply from Robert help?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Oct 11, 2011 7:04 pm    Post subject: Reply to: Accept command to get the sysstem date in CICS
Reply with quote

1)
Quote:
i checked in the manual , there is no syntax to use accept command to get date in CICS .


2)
Quote:
can i anyone give the code to get system date using accept command in CICS.


given 1 don' t You think that the question is a bit dumb icon_biggrin.gif

what ' s wrong in using eibdate and friends
http://publib.boulder.ibm.com/infocenter/txformp/v6r0m0/index.jsp?topic=%2Fcom.ibm.cics.te.doc%2Ferziai0024.htm
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Oct 11, 2011 7:55 pm    Post subject: Reply to: Accept command to get the sysstem date in CICS
Reply with quote

But the requirement is to use ACCEPT. . . icon_wink.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    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 INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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