PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

setll and setgt

View previous topic View next topic Go down

setll and setgt

Post  abilash on Sat Oct 09, 2010 3:37 pm

what is the purpus of the chain and setll and setgt ?

abilash

Posts : 7
Join date : 2010-10-09

View user profile

Back to top Go down

Re: setll and setgt

Post  Kavithaa on Sat Oct 09, 2010 3:40 pm

Chain would fetch a record based on search criteria and put the result in the input field.

The search condition could be key value or rrn, based on the value fed the search is made and the records are fetched.

Best Regards,
Kavitha

Kavithaa

Posts : 5
Join date : 2010-10-09

View user profile

Back to top Go down

Re: setll and setgt

Post  abilash on Sat Oct 09, 2010 4:00 pm

One physical file can have more than one logical files. Primary file is used in rpg program cycle to automatically read records in a cycle

abilash

Posts : 7
Join date : 2010-10-09

View user profile

Back to top Go down

Re: setll and setgt

Post  soundhar on Wed Dec 15, 2010 5:42 pm

CHAIN wil set the file pointer based on the KEY/RRN given and fetch the records.It is used for randomly retrieving the records...CHAIN = SETLL + READE

SETLL is used to set the file pointer at the lower limit of the KEY/RRN specified under Factor1.It wont fetch records.

SETGT is used to set the file pointer at the Upper limit of the KEY/RRN specified under Factor1.It wont fetch records.

soundhar

Posts : 67
Join date : 2010-07-14
Location : Vridhachalam/chennai

View user profile

Back to top Go down

Re: setll and setgt

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum