Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
I guess I?m losing it. I?m using multiple files in a clle program for thefirst time and also have a subroutine in it (for the first time). The
subr SltRcpOpt
chgvar &NoValidOpt 0 /* off is good! */
opndbf RcpCdeP1 option(*inp) opnid(pf)
monmsg cpf4174
posdbf pf *start
ReadNxt: rcvf opnid(pf)
monmsg cpf0864 exec(goto NoMatch) /* eof */
if (&pf_RcpCde = &SltOpt) then(rtnsubr +
rtnval(&NoValidOpt))
goto ReadNxt
NoMatch: chgvar &NoValidOpt 1
clof pf
endsubr rtnval(&NoValidOpt)
All this subroutine does is validates a user-entered option and returns aninteger value. My problem is with the posdbf command. It just does not
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.