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

An rpg program is processing an openquery file.The file is declared in update mode in F spec.Can we update this file? Please explain?

3 Answers  


what is a logical file?

1 Answers   IBM,


What is the difference between regular logical file and join logical file?

1 Answers  


For AS/400 Freshers good website is

3 Answers   HCL, HP,


How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz

0 Answers  






What is the difference between physical file and logical file?

0 Answers  


what is the difference between seton lr and retrn?

1 Answers   IBM,


What is an Array Data Structure?

1 Answers  


What is the exact difference between Service Program and Binding Directory?

1 Answers  


What is the Select and Omit criteria in logical file?

1 Answers  


What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?

0 Answers  


how can database records be read without lock ?

1 Answers   IBM,


Categories