PTIA_PARSE_VW

(SQL View)
Index Back

Upgrade Parse View

This view is used to parse the statements found in the upgrade process.

SELECT SQLS.PTIA_GUID ,ANALYSIS.PTIA_UPG_PATH , ANALYSIS.PTIA_DBTYPE , ANALYSIS.PTIA_UPG_GROUP , ANALYSIS.PTIA_UPG_CONV_TYPE , ANALYSIS.SEQ_NUM , ANALYSIS.AE_APPLID , SQLS.DETAIL_ID , SQLS.PTIA_SQLNUM , ANALYSIS.AE_SEQ_NUM , SQLS.PTIA_TEXTCHUNK , SQLS.PTIA_LINENUM , SQLS.PTIA_PARAMCLAUSE , ANALYSIS.AE_STMT_TYPE , ANALYSISTX.PTIA_CHUNKSEQ , ANALYSISTX.PTIA_TEXTCHUNK , ANALYSIS.PTIA_TOPAEAPPLID , ANALYSIS.PTIA_TOPAESECTN , ANALYSIS.PTIA_TOPAESTEP , ANALYSIS.PTIA_AESTMTSEQ , SQLSR.PTIA_TEXTCHUNK , SQLS.PTIA_OBJ_TYPE , ANALYSIS.PTIA_INFO1 , ANALYSIS.PTIA_INFO2 , ANALYSIS.PTIA_INFO3 , ANALYSIS.PTIA_INFO4 , ANALYSIS.PTIA_INFO5 FROM PS_PTIA_ANALYSIS ANALYSIS , PS_PTIA_ANALYSISTX ANALYSISTX , PS_PTIA_DTLIDSQLSR SQLSR , PS_PTIA_DTLIDSQLS SQLS WHERE 1=1 AND SQLS.DETAIL_ID = ANALYSIS.DETAIL_ID AND SQLS.PTIA_INFO1 = ANALYSIS.PTIA_INFO1 AND SQLS.PTIA_INFO2 = ANALYSIS.PTIA_INFO2 AND SQLS.PTIA_INFO3 = ANALYSIS.PTIA_INFO3 AND SQLS.PTIA_INFO4 = ANALYSIS.PTIA_INFO4 AND SQLS.PTIA_INFO5 = ANALYSIS.PTIA_INFO5 AND SQLS.AE_APPLID = ANALYSIS.AE_APPLID AND SQLS.PTIA_UPG_PATH = ANALYSIS.PTIA_UPG_PATH AND SQLS.PTIA_DBTYPE = ANALYSIS.PTIA_DBTYPE AND SQLS.PTIA_UPG_CONV_TYPE = ANALYSIS.PTIA_UPG_CONV_TYPE AND ANALYSIS.DETAIL_ID = ANALYSISTX.DETAIL_ID AND ANALYSIS.PTIA_INFO1 = ANALYSISTX.PTIA_INFO1 AND ANALYSIS.PTIA_INFO2 = ANALYSISTX.PTIA_INFO2 AND ANALYSIS.PTIA_INFO3 = ANALYSISTX.PTIA_INFO3 AND ANALYSIS.PTIA_INFO4 = ANALYSISTX.PTIA_INFO4 AND ANALYSIS.PTIA_INFO5 = ANALYSISTX.PTIA_INFO5 AND ANALYSIS.AE_APPLID = ANALYSISTX.AE_APPLID AND ANALYSIS.PTIA_UPG_PATH = ANALYSISTX.PTIA_UPG_PATH AND ANALYSIS.PTIA_DBTYPE = ANALYSISTX.PTIA_DBTYPE AND ANALYSIS.PTIA_UPG_CONV_TYPE = ANALYSISTX.PTIA_UPG_CONV_TYPE AND ANALYSIS.AE_STMT_TYPE <> 'L' AND SQLS.PTIA_GUID = SQLSR.PTIA_GUID AND ANALYSIS.PTIA_AESTMTSEQ = ( SELECT MAX(ILV.PTIA_AESTMTSEQ) FROM PS_PTIA_ANALYSIS ILV WHERE 1=1 AND ANALYSIS.DETAIL_ID = ILV.DETAIL_ID AND ANALYSIS.PTIA_UPG_PATH = ILV.PTIA_UPG_PATH AND ANALYSIS.PTIA_DBTYPE = ILV.PTIA_DBTYPE AND ANALYSIS.PTIA_UPG_CONV_TYPE = ILV.PTIA_UPG_CONV_TYPE AND ANALYSIS.AE_APPLID = ILV.AE_APPLID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PTIA_GUID Character(36) VARCHAR2(36) NOT NULL  
2 PTIA_UPG_PATH Character(15) VARCHAR2(15) NOT NULL Definition of supported upgrade paths
3 PTIA_DBTYPE Character(10) VARCHAR2(10) NOT NULL DBType
4 PTIA_UPG_GROUP Number(6,0) INTEGER NOT NULL Specifies the system-assigned sequence number of a pending item within a group. A group is a postable entity that may be entered online or created by the system. In either case the group sequence number is automatically generated.
5 PTIA_UPG_CONV_TYPE Character(4) VARCHAR2(4) NOT NULL Upgrade Conversion Type
DDL=DDL Conversion Group
MAIN=Main Conversion Group
PRE=Pre Conversion Group
6 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
7 AE_APPLID Character(12) VARCHAR2(12) NOT NULL Program Name (see PSAEAPPLDEFN).
8 DETAIL_ID Character(100) VARCHAR2(100) NOT NULL Detail line identifer
9 PTIA_SQLNUM Number(3,0) SMALLINT NOT NULL SQL Number
10 AE_SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
11 SQLTEXT Long Character(14000) CLOB SQL Statement Text
12 PTIA_LINENUM Number(6,0) INTEGER NOT NULL Line Number
13 PTIA_PARAMCLAUSE Character(254) VARCHAR2(254) NOT NULL Parameter Clause
14 AE_STMT_TYPE Character(1) VARCHAR2(1) NOT NULL Type
C=Call Section
D=Do Select
H=Do When
M=Log Message
N=Do Until
P=PeopleCode
S=SQL
U=Update/Insert/Delete
W=Do While
X=XSLT
15 PTIA_CHUNKSEQ Number(3,0) SMALLINT NOT NULL Chunk Sequence
16 PTIA_TEXTCHUNK Long Character(14000) CLOB Text Chunk
17 PTIA_TOPAEAPPLID Character(30) VARCHAR2(30) NOT NULL
18 PTIA_TOPAESECTN Character(30) VARCHAR2(30) NOT NULL
19 PTIA_TOPAESTEP Character(8) VARCHAR2(8) NOT NULL Name
20 PTIA_AESTMTSEQ Number(7,0) INTEGER NOT NULL Actions Overall Upgrade Sequence
21 PTIA_MESSAGE Long Character CLOB
22 PTIA_OBJ_TYPE Character(1) VARCHAR2(1) NOT NULL Defines the type of peoplecode statement that is being evaluated
A=Application Class
F=Funclib
J=Java
S=SQL Statement
23 PTIA_INFO1 Character(100) VARCHAR2(100) NOT NULL Information1
24 PTIA_INFO2 Character(100) VARCHAR2(100) NOT NULL Information2
25 PTIA_INFO3 Character(100) VARCHAR2(100) NOT NULL Information3
26 PTIA_INFO4 Character(100) VARCHAR2(100) NOT NULL Information4
27 PTIA_INFO5 Character(100) VARCHAR2(100) NOT NULL Information5