× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Afternoon everyone
I believe I am on the correct list, and it will become apparent as you read
my e-mail

To coin an old Monty Python phrase
"My brain hurts"
I am attempting to create a command

CMD PROMPT(' ')

PARM KWD(SCREENUSER) TYPE(*CHAR) LEN(10) MIN(1) +
PROMPT('User Profile:')
PARM KWD(FROMDATE) TYPE(*DATE) MIN(1) +
PROMPT('From Date:')
PARM KWD(FROMTIME) TYPE(*TIME) MIN(1) +
PROMPT('From Time:')
PARM KWD(THRUDATE) TYPE(*DATE) MIN(1) +
PROMPT('Thru Date:')
PARM KWD(THRUTIME) TYPE(*TIME) MIN(1) +
PROMPT('Thru Time:')

That accepts a user profile name, a From date, a From time, a Thru date and
a Thru time

I created the command and when I place values into the different fields
this is what I find
For the date fields, it recognizes invalid dates, but the valid dates can
be entered in the following formats
02/28/10
022810
02/28/2010
02282010

The time fields recognize invalid times, but the valid times can be entered
in the following formats

050000
0500
05:00:00
05:00

My problem is that within the RPGILE program to process the command, I
need to take both the From date & time (and the Thru date and time) and
create timestamps and for some reason my mind becomes blank
I am hoping someone has done this already and can point me in the right
direction

As always all answers gratefully accepted


Thanks in advance

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.