Recent IT Questions

1 - 11 of 11
<<PREVIOUS 1 NEXT>>

OPNQRYF

Is it possible to access a file created by opnqryf in an RPG/400 program using keys? I have defined the KEYFLD parameter but the RPG doesn't find the records when using READE or CHAIN

View Answer   |  May 14 2009  3:37 PM GMT
OPNQRYF, RPG/400, KEYFLD
asked by Marg

  5 pts.

RPG/400 CHAIN opcode

Hi,anybody tell me how to find the end of file situation while reading through the CHAIN opcode on a file in RPG/400 and in RPGLE. I think RPGLE we have %found built in function.thanks

View Answer   |  May 7 2009  7:33 AM GMT
RPG/400, CHAIN, RPG
asked by Ten2008

  675 pts.

Physical File Without Key

Hi guys, Currently i'm using RPGLE language. If i have a Physical File that without key, How am i going to set my pointer. I can't CHAIN,SETLL and SETGT as well. In order to use them, u need have a key. Am i rite? Is there any idea to solve this matter? Thanks!!!!

View Answer   |  Mar 23 2009  9:12 AM GMT
RPGLE, Physical File, SETLL
asked by SoulReaper

  20 pts.

RPG/400 - CL command to search a record like CHAIN opcode in RPG

Please advice we have any command there in CL to search or find a record like CHAIN opcode in RPG.

View Answer   |  Jan 19 2009  6:43 AM GMT
RPG/400, CL, CHAIN
asked by Askt1

  105 pts.

Clearing a PF record on AS/400

I'm chaining a field to a unique keyed PF. I'm getting a not found indicator so I'm trying to write the record but I receive a duplicate key error. How this can be I do not understand. A colleague suggested that a field (or fields) within the record might be a key of other LF's over the file and...

View Answer   |  Dec 9 2008  10:41 PM GMT
RPG, CHAIN, Physical File
asked by Floyd02

  270 pts.

AS/400 - Physical File in update mode

hi all, i have a physical file i need to update that file (not append) ,I opened that file in update mode eg F MYFILE UF E K DISK (i didn't mention 'A' because i dont need to append records) now after certain checks i update (any field) with syntex. UPDATE RECORD FORMAT ...

View Answer   |  Dec 4 2008  4:30 AM GMT
CHAIN, Physical File, AS/400 administration
asked by Ambrish 82

  230 pts.

Record existence

How do you know if a record exists without doing a READ and CHAIN?

View Answer   |  Jul 23 2008  11:03 AM GMT
CHAIN, AS/400 Records
asked by Minuvinu

  35 pts.

Chain operation

Can we do chain opertation on record format name instead of the file name?

View Answer   |  Jun 13 2008  7:16 AM GMT
AS/400, CHAIN
asked by Kundankumar 83

  65 pts.

updating pf using simple rpg/400 code.

How can i update a pf using simple rpg code.and please also explain with examples use of setll, chain, setgt, Readc and sflnxtchg?

View Answer   |  May 27 2008  4:37 AM GMT
RPG, CHAIN, SETLL
asked by 6r

  155 pts.

How to fetch data from physical file using RRN value of a record ?

I want to fetch / read a record with given RRN value in rpg. How to read a record for which only RRN value is given, in RPG ?

View Answer   |  Mar 13 2008  12:48 AM GMT
RPG, CHAIN, RRN
asked by Aum

  15 pts.

READ FROM SUBFILE

Hi, I have a problem in reading my subfile: After loading the subfile and display that on screen, I want to read the records of subfile and write them on preint file. But inspite of managing the RRN, every CHAIN command get the last record of subfile. here is the code: C EVAL ...

View Answer   |  Dec 13 2007  5:22 AM GMT
Subfile, RNN, CHAIN
asked by Leiloon

  15 pts.

1 - 11 of 11
<<PREVIOUS 1 NEXT>>