|
Thanx to everyone for the help. Shepherd Chacko Robert Bosch India. > -----Original Message----- > From: Joep Beckeringh [SMTP:joep@beckeringh.myweb.nl] > Sent: Friday, March 24, 2000 5:15 AM > To: RPG400-L@midrange.com > Subject: Re: Checking Calling Program!!!! > > Shepherd, > > Why would you want to check that? If you want to prevent users from > directly calling a program, do just that: determine whether these users > actually should have a command line, and if so, whether they should have > execute rights to the program. If you really want PGMR only to be called > by > PGMCL, the solution is obvious: put them together in one program. Either > by > putting PGMR in a service program, as Leslie suggested, or by creating > modules and combining the modules in one program. > > Joep Beckeringh > > > ----- Original Message ----- > From: "Shepherd Chacko (RBIN/COP)" <Shepherd.Chacko@in.bosch.com> > To: <RPG400-L@midrange.com> > Sent: Thursday, March 23, 2000 4:01 PM > Subject: Checking Calling Program!!!! > > > > Hi All, > > > > In one of our application, we have an RPG Program say PGMR which is > called > > by a CL Program say PGMCL. If i want to ensure that PGMR is called by > PGMCL > > alone and not directly from command line or from any other program, how > will > > i check this in the called Program ie PGMR.. > > > > Thanx in advance > > > > Shepherd P Chacko > > Robert Bosch, > > India. > > +--- > > | This is the RPG/400 Mailing List! > > | To submit a new message, send your mail to RPG400-L@midrange.com. > > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > > | To unsubscribe from this list send email to > RPG400-L-UNSUB@midrange.com. > > | Questions should be directed to the list owner/operator: > david@midrange.com > > +--- > > > > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.