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: 8057
Location: East Dubuque, Illinois, USA

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: 10256
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: 8057
Location: East Dubuque, Illinois, USA

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: 10256
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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts SUBSTR for Date functions Shaheen Shaik DB2 4 Thu Apr 06, 2017 2:14 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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