Willie,
	I believe if you change your backup options as such you should
not need these CLP's.
1. Go to CAS
2. Select option 4 ( Back Up/Recover/Reorganize )
3. Select option 1 ( Back Up Files )
4. Select option 5 ( Change Backup Options )
5. Select disk or tape
6. Press enter until the final screen (AXZU96) is displayed
7. Change the settings as indicated below:
END INACTIVE SESSIONS. . . . 1    0=NO, 1=YES 
                                             
END ACTIVE SESSIONS. . . . . 1    0=NO, 1=YES 
                                             
END PRESTART CLIENT JOBS . . 1    0=NO, 1=YES 
                                             
END BATCH JOBS . . . . . . . 1    0=NO, 1=YES 
Making these changes will cause all MAPICS jobs to be ended.  
This will allow the auto-backup to get dedicated mode.
-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Willie J. Moore
Sent: Tuesday, December 23, 2008 10:47 AM
To: mapics-l@xxxxxxxxxxxx
Subject: [MAPICS-L] Ending a Power Link session for Mapics saves
We are using Integrator & Power Link.  We are finding that if a user
does not sign out of Power Link the unattended Mapics save cannot get a
dedicated system and the save does not run.  
We summit the following jobs though the Job Scheduler. 
This one is to end/stop the Mapics jobs:
PSICTLJVS  REQUEST(*LIST) ENVLIST(MM) CTLOPT(*END)   GLBSRV(*YES)
DBGOPT(*YES) /* End */ 
Waits 10 mins.
Then this runs the Mapics backup:
AUTOBCK ENDES('MM') BCKTYP('D')
Waits 30 mins.
Then we run this command to start every thing back up:
PSICTLJVS  REQUEST(*LIST) ENVLIST(MM) DBGOPT(*YES)
If the save does not run I then look at the Job Status screen, I will
see the following:
    Ctl User         WS/JQ              Seq  Type          Status
     Y   MF         AMM0290707   0     BATCH    ACTIVE
Once the user ends the Power Link session, then the save will run.
Should I combine the three statements into one CL and submit it that
way. I could add a jobdly of 5 mins to the end & start statements.
Any ideal and/or suggestion would be greatly appreciated.
William Moore
California Fine Wire, Co
wjmoore@xxxxxxxxxxxxxxx
805-489-5144
_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: 
http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at 
http://archive.midrange.com/mapics-l.
As an Amazon Associate we earn from qualifying purchases.