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



All -

IMO, IBM's documentation is severely lacking when it comes to Command
creation. I have created a command (see source below) that will be used to
update the Date and Software Protection Code in the QJDF data area.

When prompting the command, and if ACTION is changed to *UPDATE, it displays
the EXPDATE and BOMBCODE parms.


Question:
Is it possible to make EXPDATE and BOMBCODE mandatory if they are being
displayed?

- sjl

CMD PROMPT('Update QJDF Data Area')

/* Data Area Library */

PARM KWD(DTAARALIB) TYPE(*NAME) DFT(*LIBL) +
SPCVAL((*LIBL) (*ALLUSR)) MAX(1) +
PROMPT('Data Area Library name:')

/* *UPDATE = Show EXPDATE and BOMBCODE parms *

PARM KWD(ACTION) TYPE(*CHAR) LEN(7) RSTD(*YES) +
DFT(*PRINT) SPCVAL((*PRINT 0) (*UPDATE +
1)) PROMPT('Update Data Area?')

PARM KWD(EXPDATE) TYPE(*CHAR) LEN(6) +
PMTCTL(DATECODE) PROMPT('Software +
Expiration Date')

PARM KWD(BOMBCODE) TYPE(*CHAR) LEN(6) +
CASE(*MIXED) PMTCTL(DATECODE) +
PROMPT('Software Security Code')

DATECODE: PMTCTL CTL(ACTION) COND((*EQ 1))





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.