×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi Gad,

What we have done to solve this is to allow the command to have special
values like

*TODAY
*CURYEAR
*CURMONTH
etcetera

Then in the called program check the parameter passed and set the value as
required.

Note: if the date is important you may want to check the submit job date
rather than the system date in case the job was on a queue past midnight.

Cheers


Don






From: "Gad Miron" <gadmiron@xxxxxxxxx>
To: midrange-l@xxxxxxxxxxxxxxxxxx
Date: 19/12/2022 08:53 PM
Subject: CMD defaults to by current year and current month
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>



Hello guys

I would like to run from the Scheduler a CMD that is now executed by our
operator.
(interactive or batch)
In order to do it I need 2 CMD parameters (YEAR, MONTH) to automatically
get current year and current month respectively.

Can it be done in the CMD itself or only in the CPP / VLDCKR programs?

TIA
Gad

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.