|
A signature is like a file level id. When you create a service program, it makes a signature. When you compile a program that uses a service program, it keeps track of the signature. this is so if you change the service program the calling program knows before running if it's using the right service program or not. Now, it gets more involved when we talk about multiple signatures. A service program always has one currentn signature and it can have 1 or more previous signatures. SRVPGM1 has a current signature of AAA. Programs A, B and C are created and use SRVPGM1. So, the use signature AAA. SRVPGM1 is updated and now has signature BBB as the current signature and AAA as a previous signature. The change only affected Program B, so program B is recompiled and picks up the new signature. The other programs still use the old signature and don't need to be recompiled. Whew.. there's a little more to it, but it is quite a simple method and an important part of ILE programming. i do have a 4 part series on ILE in AS/400 experts journal right now. Signatures are explained as part of them. Brad > -----Original Message----- > From: Smith, Mike [mailto:Smith-Mike@Crest.aramark.com] > Sent: Friday, March 09, 2001 7:36 AM > To: 'RPG400-L@midrange.com' > Subject: RE: E-mail notification from AS400 > > > Can someone provide a easy to understand description of > SIGNATURES. I don't > quit understand why i should use them. Thanks. > > -----Original Message----- > From: Stone, Brad V (TC) [mailto:bvstone@taylorcorp.com] > Sent: Friday, March 09, 2001 8:22 AM > To: 'RPG400-L@midrange.com' > Subject: RE: E-mail notification from AS400 > > > > > Why not Java? > > > > Java is slow. Furthermore, I find object oriented code to be a bit > > awkward, and a pain to debug. This could be because I've been > > programming too long -- but apparently others agree with me, since > > I've yet to see a complete application written in Java. > > > > If I wanted a cross-platform language, I think I'd pick Perl. > > > > Can I turn the question back at you? Why would you use Java? > > Would would I? Hmmm... now you're going to make me think. > It is slow, and > that was always one of my excuses, but it is getting better, I have to > admit. I also am having problems getting back into OO after > years of RPG. > But, it's slowly coming. And, it's fun. > > But, a full scale application in Java? Right now that scares > me. I've been > writing little ones and if you want to do OO correctly you > end up with so > much "stuff" that you're right, debugging would be heck. At > least with ILE > we have signatures. With Java you change an object (a big no > no, but it > will happen) and who knows what will happen. > > So, I guess I would use it only so I could work outside of > the AS/400 world, > should I choose that route. (But I doubt I will). > > > > > > > Do you do programming on your Win9x PCs? Have you ever made > > a mistake > > and passed parms incorrectly to a Windows API? Crash. > > Have you ever > > accidentally overwritten memory on a Windows machine? Crash. > > Oh, I thought were were talking about using the OS, not > programming with > them. <bg>. I see your point. > > > > > I can't say I've had a problem like that on Linux. I guess > > I don't use > > Linux that much, since I prefer FreeBSD. > > It was versions of Redhat and Mandrake 7.1. Man, what a > bummer. But, it > seems to be fixed now. Been running for a couple weeks and > the logs show no > sign of looping... yet.. > > > > Brad, lest there be hard feelings, let me say that I've read > > some of your > > work over the years, and I have a lot of respect for you. > > I've enjoyed > > many of your messages on these lists. > > > > Please don't take my disagreement on many of these points > as a lack of > > respect for your opinion. > > Hard feelings? Never. You'd have to do a lot more (like > kidnap my wife). > I love it when people chat. Sometimes the only reason I post > what I do is > to get people talking. I respect people more for speaking their mind > because when it all comes to it, it's really just opinion and > no one is > right or wrong. Unless it's about using the cycle in which > it should always > be used for level breaks. ;) > > Brad > +--- > | 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-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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.