i have 1000 records in pf.what are all the ways to read a
particular name records in rpg?? ie.. in pf i have a name
called demo appeared around 52 times hw will we read this
particular records in rpg/400?.

Answer Posted / rajgoaj

Can it be done by using group function on a SQLRPG?

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1981


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

2067


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

842


what is the difference between do while and do until?

801


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1563






Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2146


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

644


What is a record lock error?

1356


What is the difference between copybooks and subprocedures in as400?

940


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

1640


what is an online rpg?

845


Explain mdt?

765


How to write record if no field or the field are different in physical file in rpgle ?

580


How many program bind in one module....

2230


how do I declare a table or array in rpg iv?

827