IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Accept command to get the sysstem date in CICS


IBM Mainframe Forums -> CICS
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 11, 2011 6:44 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Oct 11, 2011 6:44 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 11, 2011 7:02 pm
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

Superior Member


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

PostPosted: Tue Oct 11, 2011 7:03 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Oct 11, 2011 7:04 pm
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
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

Moderator Emeritus


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

PostPosted: Tue Oct 11, 2011 7:55 pm
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. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Routing command Address SDSF to other... TSO/ISPF 2
Search our Forums:

Back to Top