Files open in service programs.

555 pts.
Tags:
AS/400
ILE
Hi Group,

If an RPG program calls a service program that leaves files open,
then the program ends with SETON LR, should the files opened in the
service program remain open, within the job that called the program?

Does RETURN or SETON LR have any affect on Service Program?

Regards,
Rama


Software/Hardware used:
AS/400, ILE

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • CharlieBrowne
    If the calling program does a SETON LR and the Service Program does not, the files opened in the Service Program will remain until the job itself ends.
    41,380 pointsBadges:
    report
  • BigKat

    or at least until the Activation Group the Service Program is in ends

    8,100 pointsBadges:
    report
  • philpl1jb

    So you may want a procedure in the service program to close all files.

     

    49,850 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following