Beccause of a NOMAD program, current date and time is included in all records of the output file. because of this there is removal of records in another program's output, which uses the previous output file as input.
i need to increase the time for each record in the first program through the code. i tried declaring a temporary variable and increased the time by the following .
where &CTIME,temporary variable, is declared as hh:mm:ss format.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
For working out something like this, i suggest using a small bit of code that is only for testing your requirement. With no other program logic to interefere, you can try various alternatives until you find sone that does what you want.
I have none of the NOMAD material here. If you do not have the documentation, i'd suggest you contact NOMAD support as they will tell yo how to get it.
*declaring a variable &CTIME
*Defining &UTIME TIME in 'hh:mn:ss'
*moving &UTIME to &CTIME
may work, but i do wonder why the field you are incrementing is not defined as time also. If you are incrementing some numeric variable, how would NOMAD know to later use it as a date?