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
 

 

FORMATETIME ABSTIME

 
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
ayapatsr

New User


Joined: 01 Apr 2009
Posts: 14
Location: pune

PostPosted: Tue Sep 08, 2009 6:28 pm    Post subject: FORMATETIME ABSTIME
Reply with quote

Hi frnds,

VAR1 pic 9(15) comp-3.
VAR2 pic x(10)

EXEC CICS
ASKTIME ABSTIME (VAR1)
END-EXEC
EXEC CICS FORMATTIME
ABSTIME (VAR1)
DATESEP ('/')
DDMMYY (VAR2)
TIME (W03-TIME)
TIMESEP
END-EXEC

when compiling the program getting error as

'DDMMYYYY' IS NOT VALID. 'DDMMYY' ASSUMED. A BLANK IS ASSUMED BETWEEN 'DDMMYY' AND 'YY'. 'DDMMYY' KEYWORD REQUIRES 1 SUB-OPERAND(S). STATEMENT NOT TRANSLATED.
OPTION 'YY' IS NOT VALID AND IS IGNORED.

i checked the syntax DDMMYYY is acceptable format.

can any one help me why it is?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Tue Sep 08, 2009 6:32 pm    Post subject:
Reply with quote

Which version of CICS? Have you tried this in CICS using the CECI transaction to verify it?
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: Wed Sep 09, 2009 1:10 am    Post subject: Reply to: FORMATETIME ABSTIME
Reply with quote

Hello,

Do not double post a question multiple times.

This duplicate is locked. . .

d
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 To get ABSTIME using Date(MMDDYY) and... krish2309 CICS 12 Thu Jun 30, 2016 9:55 am
No new posts ABSTIME & FORMAT TIME COMMANDS akodakka CICS 14 Fri May 21, 2010 2:59 pm


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