DBA Data[Home] [Help]

APPS.PSP_MESSAGE_S dependencies on FND_FILE

Line 71: IF p_mode NOT IN (FND_FILE.LOG, FND_FILE.OUTPUT) THEN

67:
68: BEGIN
69:
70: -- Validate the p_mode parameter.
71: IF p_mode NOT IN (FND_FILE.LOG, FND_FILE.OUTPUT) THEN
72: --
73: Fnd_Message.Set_Name ('PSP', 'PSP_INVALID_ARGUMENT') ;
74: Fnd_Message.Set_Token('ROUTINE', 'Print_Error' ) ;
75: l_msg_buf := Fnd_Message.Get ;

Line 76: FND_FILE.Put_Line( FND_FILE.LOG, l_msg_buf ) ;

72: --
73: Fnd_Message.Set_Name ('PSP', 'PSP_INVALID_ARGUMENT') ;
74: Fnd_Message.Set_Token('ROUTINE', 'Print_Error' ) ;
75: l_msg_buf := Fnd_Message.Get ;
76: FND_FILE.Put_Line( FND_FILE.LOG, l_msg_buf ) ;
77: RETURN ;
78: --
79: END IF ;
80:

Line 85: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;

81:
82: if FND_API.to_Boolean( p_print_header ) then
83: FND_MESSAGE.Set_Name('PSP', 'PSP_PROGRAM_FAILURE_HEADER');
84: l_msg_buf := substrb_get ;
85: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;
86: end if ;
87:
88: FND_MSG_PUB.Count_And_Get ( p_count => l_msg_count,
89: p_data => l_msg_data ) ;

Line 94: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;

90:
91: if l_msg_count = 0 then
92: FND_MESSAGE.Set_Name('PSP', 'PSP_SERVER_ERROR_NO_MSG');
93: l_msg_buf := substrb_get ;
94: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;
95: elsif l_msg_count = 1 then
96: FND_MESSAGE.Set_Encoded(l_msg_data);
97: l_msg_buf := substrb_get ;
98: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;

Line 98: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;

94: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;
95: elsif l_msg_count = 1 then
96: FND_MESSAGE.Set_Encoded(l_msg_data);
97: l_msg_buf := substrb_get ;
98: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;
99: elsif l_msg_count > 1 then
100: for i in 1..l_msg_count loop
101: if i =1 then
102: l_msg_buf := substrb_get

Line 110: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;

106: l_msg_buf := substrb_get
107: (p_msg_index => FND_MSG_PUB.G_NEXT,
108: p_encoded => FND_API.G_FALSE);
109: end if;
110: FND_FILE.Put_Line( p_mode, l_msg_buf ) ;
111: end loop ;
112: end if;
113:
114: END Print_Error ;

Line 212: -- FND_FILE.Put_Line( FND_FILE.OUTPUT, l_msg_buf );

208: BEGIN
209:
210: FND_MESSAGE.Set_Name('PSP', 'PSP_PROGRAM_SUCCESS');
211: l_msg_buf := substrb_get;
212: -- FND_FILE.Put_Line( FND_FILE.OUTPUT, l_msg_buf );
213: FND_FILE.Put_Line( FND_FILE.LOG, l_msg_buf ) ;
214:
215: END Print_Success ;
216:

Line 213: FND_FILE.Put_Line( FND_FILE.LOG, l_msg_buf ) ;

209:
210: FND_MESSAGE.Set_Name('PSP', 'PSP_PROGRAM_SUCCESS');
211: l_msg_buf := substrb_get;
212: -- FND_FILE.Put_Line( FND_FILE.OUTPUT, l_msg_buf );
213: FND_FILE.Put_Line( FND_FILE.LOG, l_msg_buf ) ;
214:
215: END Print_Success ;
216:
217: