and why not a chkobj in the clp? (or // if dataf1 in ocl)?
and not call the pgm.
Jim
----- Original Message ----- From: "James Lampert" <jamesl@xxxxxxxxxxxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, August 13, 2008 6:35 PM
Subject: Quick primary file question for a fellow "Cycle-rider"


Is there a way I can have a Cycle program fail quietly if the primary
file isn't present?

I tried putting an INFSR clause on the primary file's F-spec, and
creating a corresponding subroutine, but it didn't do anything to stop
the CPF4101 from turning into an RNQ1216 inquiry.

--
James H. H. Lampert
Touchtone Corporation

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




This thread ...

Follow-Ups:
Replies:

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

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