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
 

 

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: 10211
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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 3 Thu Jan 19, 2017 1:31 am
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


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