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

What are the necessary keywords required to code a message subfile?

3 Answers  


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  


What is the OPEN and CLOSE accesspath?

3 Answers   CTS,


how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE

3 Answers   iGate,


how does the rpg element work?

0 Answers   IBM,






A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?

2 Answers   IBM,


I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.

1 Answers  


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?

1 Answers   IBM,


can anybody help me that what is the procedure of debugging the service program?

3 Answers   CSC,


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

0 Answers  


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

0 Answers  


Categories