39: -- loop through records found and write out NOCOPY each line
40: -- fetched to the output file
41: FOR v_sle_rec IN c_sle LOOP
42: v_sle_found := TRUE;
43: FND_FILE.PUT_LINE(
44: FND_FILE.OUTPUT,
45: v_sle_rec.text);
46: END LOOP;
47: IF NOT v_sle_found THEN
40: -- fetched to the output file
41: FOR v_sle_rec IN c_sle LOOP
42: v_sle_found := TRUE;
43: FND_FILE.PUT_LINE(
44: FND_FILE.OUTPUT,
45: v_sle_rec.text);
46: END LOOP;
47: IF NOT v_sle_found THEN
48: -- close output file