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: 8631
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: 10396
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: 8631
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 Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm

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