Issue : Process completes successfully but fails to post the output files having filename length more than 80 chars. Other processes have no issue in posting reports.(PT8.52 , WL10gR3)
Error : No specific errors were reported other than few usual java exceptions in weblogic & stderr logs.
Solution : One of our processes whose output files were like
(ctl_CD_PAY_LEND_NIRAJ_2012_5_12_12_25_65SYN7453623_Input_file_COO18_PAYMENT1.csv.ctl
i.e. the length of filenames is pretty longer and turned out to be the real cause of this error.
on analysis It is found that the output filename size exceeds the default limit of 80 characters required in the PeopleSoft Delivered table PS_CDM_FILE_LIST.
desc PS_CDM_FILE_LIST
Name Null? Type
---------------- -------- ---------
PRCSINSTANCE NOT NULL NUMBER(38)
CONTENTID NOT NULL NUMBER(15)
FILENAME NOT NULL VARCHAR2(80)
CDM_FILE_TYPE NOT NULL VARCHAR2(10)
FILE_SIZE NOT NULL NUMBER(10)
DTTM_CREATED TIMESTAMP(6)
Hence for that particular Process Instance# none of the output files could get posted.
Suggestion:
Either developers should specify filename length lesser than allowable length
or
As a last option increase limit specified in delivered table PS_CDM_FILE_LIST.
Note : the later option has not been tested.
Error : No specific errors were reported other than few usual java exceptions in weblogic & stderr logs.
Solution : One of our processes whose output files were like
(ctl_CD_PAY_LEND_NIRAJ_2012_5_12_12_25_65SYN7453623_Input_file_COO18_PAYMENT1.csv.ctl
i.e. the length of filenames is pretty longer and turned out to be the real cause of this error.
on analysis It is found that the output filename size exceeds the default limit of 80 characters required in the PeopleSoft Delivered table PS_CDM_FILE_LIST.
desc PS_CDM_FILE_LIST
Name Null? Type
---------------- -------- ---------
PRCSINSTANCE NOT NULL NUMBER(38)
CONTENTID NOT NULL NUMBER(15)
FILENAME NOT NULL VARCHAR2(80)
CDM_FILE_TYPE NOT NULL VARCHAR2(10)
FILE_SIZE NOT NULL NUMBER(10)
DTTM_CREATED TIMESTAMP(6)
Hence for that particular Process Instance# none of the output files could get posted.
Suggestion:
Either developers should specify filename length lesser than allowable length
or
As a last option increase limit specified in delivered table PS_CDM_FILE_LIST.
Note : the later option has not been tested.