-
Notifications
You must be signed in to change notification settings - Fork 10
custom_change_packages
Author: Andy Dorfman
d:\temp\update_psstatus.dms
set log update_psstatus.log;
update PSSTATUS set LASTCHANGEDTTM = %CurrentDateTimeIn;-
Application Designer>Tools>Miscellaneous Definitions>File Type Codes
FILEREFTYPECODE: 'CUSTOM_SCRIPTS'
FILEREFPATH: '%ps_cust_home%\scripts'
DESCRLONG: 'LBC PS_CUST_HOME\scripts folder'-
Application Designer>New>File Reference
File Name and Path: "Click on ... to select a file `D:\temp\update_psstatus.dms`"
Binary: 'No'
Database Platform: 'All'
PeopleSoft Server: 'File Server'
Operating System: 'All'-
Application Designer>File>Save As
Save Name As: 'UPDATE_PSSTATUS_DMS'
File Type Code: 'CUSTOM_SCRIPTS'-
Click
OKto save -
Replace
D:\temp\update_psstatus.dmswith%FILEREFPATH%\update_psstatus.dms -
Click
OKto save again -
Click
F7to import File Reference Definition into the project -
Application Designer>File>Save Project
Save Project Name As: 'LBC_IT0001'-
Click
OKto save -
Application Designer>Tools>Project Properties
Description: 'Testing CUSTOM_SCRIPTS File References'
Comments: 'Testing description'
Change Project: 'Check'
Update ID: 'LBC_IT0001'
Add: - Click
OK -
Application Designer>File>Save All -
Application Designer>UpgradeTab - Doube-Click on
File References, CheckExecuteFlag -
Application Designer>File>Save All
-
Application Designer>Tools>Create Change Package - Click
OK
Export Directory: 'd:\temp\LBC_IT0001'
File Reference Path: 'D:\temp'
Update ID: 'LBC_IT0001'
Generate New Template: 'Check'-
Application Designer>Tools>Finalize Change Package
Export Directory: 'd:\temp\lbc_it0001\updlbc_it0001'- Click
OK
-
Place
d:\temp\LBC_IT0001\updLBC_IT0001\updLBC_IT0001.zipin CA'sdownloaddirectory -
Change Assistant>Tools>Apply Change Package>Apply Automatically Without Compare>Next>Apply without using Change Impact Analyzer>Next> Select product line release >Next> Select target environment >Next> Select Host >Next> Provide Credentials >Next> Select download directory >Next> SelectUPDLBC_IT0001>Next>Next>Validate Now(make sure psemagent is running) >Begin Apply -
Examine the log file for
Deploy Files>File Type Code: CUSTOM_SCRIPTS>UPDATE_PSSTATUS_DMS
It looks like it's finding only 1 file server under PS_HOME and deploying the file udpate_psstatus.dms only to that 1 location, most likely due to me selecting only 'File Server' during File Reference creation. Nothing got transferred to PS_CUST_HOME
- Examine the view Script for
Execute File References>Execute DMS>UPDATE_PSSTATUS_DMS
It is executing update_psstatus.dms script from the staging directory