HP3000-L Archives

November 2004, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Robert Mills <[log in to unmask]>
Reply To:
Robert Mills <[log in to unmask]>
Date:
Wed, 17 Nov 2004 17:52:29 -0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
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 *

ATOM RSS1 RSS2