1
  • READC with CHAIN

    I have a subfile with few output fields and one character option field. I want user to enter 'X' in option field. if he enters wrong option I simply highlight fields my problem is: fields get highlighted but users input value does not retain in option fields. It gets disappeared. I am using...

    hunshabbir71,015 pointsBadges:
  • klist chain not finding existing record

    I've got a logical keyed on field 1, field 2 and field 3. In my RPG I've got a chain to that logical with a key list where the values appear to match those in Field 1, 2 and 3. The chain fails to locate the record. A setll followed by a reade fails to find it. But a setll followed by a read does...

    mrwilf55 pointsBadges:
  • 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!!!!

    SoulReaper20 pointsBadges:
  • What is the difference beween %found and %equal?

    What is the difference between %found and %equal? With SETLL we can use both %found and %equal but with CHAIN we can use only %found. It will be good if someone can please clarify this.

    ankit2002770 pointsBadges:
  • Access a OPNQRYF file using keys

    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.

    Marg5 pointsBadges:
  • result of CHAIN with a bad key

    Rather than proving it out myself, it's so much easier to ask if anyone has run into this before. While researching a bug, I found a program that chains to a file using a 3-field key list. BUT - the 2nd and 3rd fields are "wrong" (defined as alpha in the key list but numeric in the file). Seems...

    aceofdelts1,870 pointsBadges:
  • 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 ?

    Aum15 pointsBadges:
  • Chain in RPG IV

    What is your definition of CHAIN and when do you use it in your programming?

    Jaymz69765 pointsBadges:
  • Record existence

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

    Minuvinu35 pointsBadges:
  • Chain operation

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

    Kundankumar 8375 pointsBadges:
  • 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.

    Askt1140 pointsBadges:
  • 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

    ten20081,150 pointsBadges:
  • 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 but when i run this a dump...

    Ambrish 82310 pointsBadges:
  • 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 I...

    Floyd02320 pointsBadges:
  • 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?

    6r1,520 pointsBadges:
  • 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 RRN = 1 C DOW RRN <...

    Leiloon15 pointsBadges:
1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following