Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Clist : Error on verifying the time with the curren time

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Pragati Soni

New User


Joined: 18 Jan 2008
Posts: 47
Location: India

PostPosted: Tue Feb 12, 2008 3:41 pm    Post subject: Clist : Error on verifying the time with the curren time
Reply with quote

Hi,

I am facing one very unusual problem.

I am initialising the time field in my panel by &ztime. &Ztime stores the current time in hh:mm format. I have introduced the check if the time is greater than the current time.

My problem is that whenever I check the time( I am storing &ztime in a variable) I compare the variable with a &ztime. It gives the error Ftime is greater than the current time. Then if I reduce the min by 1 then it accepts. I am puzzled why? If I am storing the current date then why on comparing it is giving the error. Please suggest me something.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 12, 2008 3:46 pm    Post subject:
Reply with quote

Have you traced the variables as they are stored and compared ?
Back to top
View user's profile Send private message
Pragati Soni

New User


Joined: 18 Jan 2008
Posts: 47
Location: India

PostPosted: Tue Feb 12, 2008 4:49 pm    Post subject:
Reply with quote

expat wrote:
Have you traced the variables as they are stored and compared ?


I don't know how to trace the variables in the CLIST(ISPF) coding. Do we have anything like display in CLIST?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Tue Feb 12, 2008 4:54 pm    Post subject: Reply to: Clist : Error on verifying the time with the curre
Reply with quote

are You still using clists. icon_confused.gif
Wouldn' t it be better to develop in REXX
easier to ..
write, read, understand, debug ,
lots of samples on the web
and add as many pro' s as You like
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 12, 2008 4:57 pm    Post subject:
Reply with quote

And far less &'s to worry about too icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us