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: 8657
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: 10457
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: 8657
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 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts Merging records, but not all the time prino DFSORT/ICETOOL 17 Sat Feb 17, 2018 4:20 pm
No new posts Need to identify top 10 costly or tim... ashek15 DB2 4 Wed Feb 14, 2018 3:20 am

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