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?

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / s.kumar

Hi,
Refer to Cl reference book.

http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/topic
/com.ibm.etools.iseries.langref2.doc/rbam6builtinfunc.html

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

how many specifications are there in rpg/400? What are they?

1 Answers   IBM,


How to position the cursor on a display file at a desired location.

5 Answers   Four soft,


what is join logical file?

1 Answers   IBM,


where can you specify an indicator in lokup operation?

1 Answers   IBM,


what are the various types of device files?

1 Answers   IBM,






how can I start a page in a new window?

0 Answers   IBM,


which are the member types which seu supports?

0 Answers   IBM,


What is Multi-format logical file?

1 Answers  


Difference Between Ca & Cf?

0 Answers   IBM,


What is the default value for the number of increment for the physical file?

1 Answers  


What is the difference between physical file and logical file?

0 Answers  


what are the different types of arrays available in rpg ?

1 Answers   IBM,


Categories