Date Prompting Problem ....

Art Bahrs abahrs@denkor.com
Mon, 3 Jul 2000 11:40:49 -0700


Hi Dave & Ole :)
    Thank You to you both (and the others who responded!) for providing
clues that led to me solving the answer :)

   What happened was that when Quiz prompted for the input value for the
dates it recieved the JMS supplied value from our UDC of CURREOM (current
end of month) and a leading blank.... the leading blank was from my trying
to make my JCL readable by indenting all the commands that are inside
programs versus commands that are supplied at the CI level!

Thanks for helping me see my error.... I took out the leading spaces on the
input lines in the JCL and that fixed it up very nicely!

Art "oops!  I hate it when I do that ! hehehe " Bahrs

----- Original Message -----
From: Knox, Dave (Dallas, TX) <knoxda01@unisourcelink.com>
To: <POWERH-L@sphere.swau.edu>; 'Art Bahrs' <ABahrs@denkor.com>
Sent: Monday, July 03, 2000 10:32 AM
Subject: RE: Date Prompting Problem ....


> Art
>
> I concur with other postings that it may be having trouble reconciling
with
> leading and/or trailing spaces. Both would fail the prompt.
>
> Especially given that it appears that your input is being driven via a
third
> party job control, which I think I've struck once before. Always an
unknown
> variable.
>
> Anyway, an alternative.
>
> !echo .\CURREOM,13C\01 >QZIN
> !echo .\CURREOM,53\ >>QZIN
> !QUIZ AUTO = PHYRXDT1.OBJR.COGACCT<QZIN
>
> Should work.
>
> Regards
> Dave
>
> > ----------
> > From: Art Bahrs[SMTP:abahrs@denkor.com]
> > Sent: Monday, July 03, 2000 11:10 AM
> > To: POWERH-L@sphere.swau.edu
> > Subject: Date Prompting Problem ....
> >
> > Hi All :)
> >    Hopefully, someone can help me on this Holiday Eve (at least for us
> > 'Yanks' hehe)
> >
> >    I am attempting to get a start and end date via the PROMPT method on
a
> > local memory variable in a Quiz run (which will then set a CI variable)
> > and
> > I am getting an error stating that the string I am imputting is too
> > long...
> > yet the $STDLIST shows that I am only getting 8 characters.... which is
> > what
> > I have defined the the field to be in Quiz....I have included the errant
> > section of Quiz Code, the related JCL and the related part of the
> > $STDLIST.
> >
> > I am using the format of CCYYMMDD for my dates...
> >
> > We are running Quiz 8.19.C3, JMS and MPE/iX 5.5 (patched) on a
979-200....
> >
> > Any help will be very much appreciated.... I.E. what did I do wrong this
> > time????
> >
> > Art "hmmm.... it should work? but it doesn't... is it Monday?  hehe"
Bahrs
> >
> >
> > Quiz Source Code:
> > ;* define local memory variables
> > DEFINE P-BEGIN-DATE CHAR*08 = PARM PROMPT "ENTER BEGIN DATE YYYYMMDD:  "
> > DEFINE BEGIN-DATE   CHAR*08 = TRUNCATE(P-BEGIN-DATE) &
> >  IF (SETSYSTEMVAL("BEG_DTE", TRUNCATE(P-BEGIN-DATE))) &
> >  ELSE " "
> >
> >
> > JCL in Job Stream File:
> >
> > !QUIZ
> > Q U I Z   (PowerHouse  8.19.C3)
> > Copyright 1998 COGNOS INCORPORATED
> > DenKor Dental Management Corp.
> >
> > EXE PHYRXDT1.OBJR.COGACCT
> > .\CURREOM,13C\01
> > .\CURREOM,53\
> >
> >
> > JCL in $STDLIST:
> > >  EXE PHYRXDT1.OBJR.COGACCT
> > ENTER BEGIN DATE YYYYMMDD:   20000601
> > This string is too long. Please re-enter.
> > The maximum number of reprompts (0) used .
> > An error occurred while prompting for DEFINE with PARM.
> >
> >
> >
> > = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
=
> > =
> > Subscribe: "subscribe powerh-l" in message body to
> > majordomo@lists.swau.edu
> > Unsubscribe: "unsubscribe powerh-l" in message to
majordomo@lists.swau.edu
> > This list is closed, thus to post to the list, you must be a subscriber.
> >

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.