Subject: | |
From: | |
Reply To: | |
Date: | Wed, 17 Nov 2004 17:52:29 -0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Kim,
You have to get the CI to put the value contained in KDATE so ![kdate] should do the job.
regards,
Robert W.Mills
Systems Development Manager
Windsong Services
(020) 8309 3604
HP-3000 Systems Discussion wrote:
> I can do the following in a job:
>
> If hpday = 4
> setvar kdate !hpyyyymmdd - 2
> Endif
>
> And kdate has my needed date for my cobol program. 20041115.
>
> Now the question is how to get it into the program to use it for a
> data base search.
>
> If I put '!kdate' or '!!kdate' under the run command and use ACCEPT
> in the program, it reads the phrase '!kdate', not the contents of it.
>
> How do I make it read the value of 'kdate' ?
>
> Mr. Kim Borgman
> NWS Inc.
> Indianapolis, IN
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|