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

FORMATETIME ABSTIME


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
ayapatsr

New User


Joined: 01 Apr 2009
Posts: 14
Location: pune

PostPosted: Tue Sep 08, 2009 6:28 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Sep 08, 2009 6:32 pm
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

Moderator Emeritus


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

PostPosted: Wed Sep 09, 2009 1:10 am
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. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts To get ABSTIME using Date(MMDDYY) and... CICS 12
No new posts ABSTIME & FORMAT TIME COMMANDS CICS 14
Search our Forums:

Back to Top