× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Willie,

I am trying to use the 8 digit (yyyymmdd) date in 191 - 198 of the SDS. No date was displaying.

The following program works correctly on my system:

     D                SDS
     D jobDate               191    198

      /free
            dsply jobDate;
            *inlr = *on;

      /end-free

Try it.  It works.

I don't see why you'd want to use this, since *DATE gives you the exact same value and is easier to code. Also, just to be absolutely sure that you understand this -- the date that it retrieves is the date that the job was started. That means it's the date that you signed on, or that your batch job was submitted. It's NOT the current date. If you stay signed on after midnight, the job date won't change.

If you want to get the current date, use the %date() BIF or the TIME op-code.


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-2024 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.