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

what is a spool file?

676


what is procedure prototype and procedure interface.

621


What is the difference between crtdupobj and copyf?

687


can a indexed file be accessed in arrival sequence in rpg program?

951


which of the following operations does not zero the field flda defined as 4,0?

710






what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.

5955


how to write code for singlepage in sqlrpgle with update ?

2367


list some of the commonly used commands for debugging?

895


what is the difference between seton lr and retrn?

1292


a multiple format logical file is also known as?

597


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

1787


explain the purpose of keep and assume keywords?

1065


how to pick up the changed records every time in a subfile after the first change made ?

1020


What is the default access path of a file?

589


what is the purpose of indicators in rpg?

1098