How can we make use of SETLL operation in CL?

Answers were Sorted based on User's Feedback



How can we make use of SETLL operation in CL?..

Answer / syam

Kumar's answer is correct.

OVRDBF FILE(File name) TOFILE(new file name) MBR(*first)
POSITION(*RRN 55)
55 = record number

OR

OVRDBF FILE(File name) TOFILE(new file name) MBR(*first)
POSITION(*KEY 1 RCD1 SYAM)
1 = no of key field
RCD1= Record format name
SYAM = Value

Is This Answer Correct ?    9 Yes 1 No

How can we make use of SETLL operation in CL?..

Answer / kumar pushpam

PLZ PLZ PLZ PLZ PLZ CAN ANYONE TELL ME THAT AS400 FRESHER WILL EVER GET A JOB
AND IF YES THEN WHEN THAT TIME COMES
MY NAME IS KUMAR PUSHPAM AND I M AN AS400 FRESHER AND HAVE 0(ZERO)
YEAR EXPERIENCE BUT EVEN I WANT TO
MAKE MY CAREER IN THIS FIELD SO PLZ PLZ TELL ME ANYTHING ABOUT THAT IF A COMPANY RECRUITS ANY AS400 FRESHER CANDIDATE

Is This Answer Correct ?    6 Yes 0 No

How can we make use of SETLL operation in CL?..

Answer / syam

Hi Chowdary.....POSDBF command allows the user to set the
position of a database file to either the beginning or end
of an open file(Member), not EQ to SETLL.
POSDBF OPNID(FILEID) POSITION(*START)
Or
POSDBF OPNID(FILEID) POSITION(*END)

Is This Answer Correct ?    5 Yes 1 No

How can we make use of SETLL operation in CL?..

Answer / chowdary

Sorry Syam and Thanx for ur answer, Syam.

Is This Answer Correct ?    0 Yes 0 No

How can we make use of SETLL operation in CL?..

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

How can we make use of SETLL operation in CL?..

Answer / syam

Hi Surendra.....How to set pointer in OVRDBF? Please post
full command.....Thanks

Is This Answer Correct ?    0 Yes 1 No

How can we make use of SETLL operation in CL?..

Answer / venkaesh

using POSDBF

Is This Answer Correct ?    1 Yes 2 No

How can we make use of SETLL operation in CL?..

Answer / s kumar

By OVRDBF Command

Cheers!!

Is This Answer Correct ?    3 Yes 5 No

How can we make use of SETLL operation in CL?..

Answer / chowdary s

By using POSDBF Cmmand through CL PGM, can do

Thanks
CHOWDARY S

Is This Answer Correct ?    2 Yes 4 No

How can we make use of SETLL operation in CL?..

Answer / surendra y mudliar

By using OVRDBF command you can set the pointer in the file
to whichever record you want.

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More RPG400 Interview Questions

How can we change element of compile time array?Can we do so

1 Answers   TCS,


In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening

2 Answers  


RPG/400 faqs?

1 Answers   HSBC,


1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF

5 Answers   CTS,


What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?

10 Answers  






1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?

1 Answers   CSC,


if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.

10 Answers   Four soft,


how to retrieve RRN value in RPGLE program

3 Answers  


please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

4 Answers   HCL,


How to identify the object has compiled with the debug view as *source without using STRDBG?

6 Answers  


what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?

2 Answers   IBM, Patni,


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


Categories