How can we make use of SETLL operation in CL?

Answer Posted / s. croy

You can position to the beginning or end, but the functional equivalent to SETLL in CL

OVRDBF FILE(RPTEMAILL2) TOFILE(RPTEMAILL2) +
POSITION(*KEYAE 1 *N &PROGRAM) +
OVRSCOPE(*CALLLVL)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do I declare a minor?

797


When it is desirable to describe files Internally?

1275


How to select highest score of each subject or how to select highest income of every month?

1390


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

799


How to call one program from another program in RPG? please help me with the code

1349






How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1640


what is the difference between do while and do until?

801


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

610


How to declare the pull button in AS/400..

1997


what is file information data structure?

1542


is this a rpg channel?

771


What is a record lock error?

1356


What is difference between bind by copy and bind by reference?

1915


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2383


which program rpg or cl is efficent to update a transaction onto a database file and why ?

842