420 pts.
 Detaching spool file with AS/400 command
Hi i want to detach job from a spool file . I tried CHGJOB SPLFACN(*DETACH) command but it detaches all the spool files for a specific job . My requirement is to detach a particular spool file from job . Please help

Software/Hardware used:
as400
ASKED: April 4, 2011  5:43 AM
UPDATED: April 5, 2011  1:32 AM

Answer Wiki:
Munduuu - Without to much thought to the reason for the question, I would think duplicating the spool file would be the easiest. Enjoy, MIS
Last Wiki Answer Submitted:  April 4, 2011  6:58 pm  by  MurrayInfoSys   940 pts.
All Answer Wiki Contributors:  MurrayInfoSys   940 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I agree with MurrayInfoSys. I can’t think of any reasonable way to detach only a single spooled file (nor any limited subset) nor of any way to manage such spooled files. Technically, it contradicts the purpose of SPLFACN(*DETACH).

Tom

 108,260 pts.

 

I can’t think of anything useful to do with a detached spooled file that can’t be done to one that is attached.

Can you describe the business problem that you need to solve? Detaching a spooled file is a technical problem. Perhaps if we knew the business problem we could suggest alternatives.

Tom

 108,260 pts.