1.what are the builtin funtions in cl pgg?Explain with
example
2.what is meant by left outer join?where we can use this?

Answer Posted / syam

A1. CL Provides 5 Built in functions.
%ADDRESS = to change the memory address stored in a CL
pointer variable
%BINARY = CL character variable as a signed binary integer
%OFFSET = to store or change the offset portion of a CL
pointer variable
%SUBSTRING = same as %SST
%SWITCH = compares one or more of eight switches with the
eight switch settings already established for the job.

A2. Using in SQL
A left outer join will return all the rows that an inner
join returns plus one row for each of the other rows in the
first table that did not have a match in the second table.

SELECT * FROM StudentInfo LEFT OUTER JOIN StudentDetail ON
StudentInfo.cStudentAdNo = StudentDetail.cStudentAdNo

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

using dfu, user will be able to ___________ from physical file?

654


Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

935


what are the basic features of seu?

692


what is a primary file?

1198


how to develop some simple graphs (bar charts) using just html?

742






what is the maximum number of files allowed in rpg?

1073


what is procedure prototype and procedure interface.

733


what is overlay?

778


what does the ovrdbf command do?

754


why is as/400 called object oriented machine?

1067


when would you use or not use this approach?

1045


what are indicators?

712


what are the different types of variables available in cl?

1168


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

705


when do you explicitly open files and close files in an rpg program?

1376