• AS/400 – Create logical file based on physical file

    I have physical file with 10 Members. I wanted to create logical file with 10 members based on Physical file members during compilation. Can you help me to create logical file with 10 members?

    rajeshece1,230 pointsBadges:
  • About files

    I have a physical file and a logical file, on that physical file in a library and now I want to copy the object of that physical and logical file to another library. I copied the object of the physical file to another library which happened good but when I am copying the object of the logical file...

    JSDHFKJHA335 pointsBadges:
  • Record lock on physical file

    When a logical file is open in update mode to read and update the record, while performing read operation on logical file, lock applies on which file(logical or physical)? I have a scenario where one logical holds a lock and when another logical tries to read it shows 'Record is already lock to...

    sivakesava285 pointsBadges:
  • Getting the error CPF5257 when trying to write record in Logical File

    RPGLE Program crashing with the error CPF5257 (Failure for device or member &4 file &2 in library &3) when trying to write record in Logical File.

    vipin2m55 pointsBadges:
  • logical based on physical file member

    I want to create a logical file over the data contained in one member of a muiltiple member phyisical file. I can find nowher that allows me to specify the member name of the PF.

    authoron15 pointsBadges:
  • Logical file update during FTP

    When are the associated logical files updated when a physical file is receiving data via FTP?

    Chandlerbing81840 pointsBadges:
  • Clear a logical file

    Is there any command to clear a Logical File?

    RamvishakRamesh2,505 pointsBadges:
  • Logical file Error.

    i try to create Multiple-format Logical File but i getting compile time error. i have two PF dds is as follow.. A          R RDEPTMST                A            DEPTNAME      15        A            DID            5        A            LNAME      ...

    Nikrajpapa250 pointsBadges:
  • Can DBMON be used to find if Logical files need to be created after monitoring performance of RPG programs

    Can DBMON be used to find if Logical files need to be created after monitoring performance of RPG programs. Also need to know exact steps to be taken inorder to use DBMON ie starting dbmon on a program to be monitored and viewing of logical file creation recommendations 

    JohnsonMumbai1,480 pointsBadges:
  • AS400 Logical Files

    i have copied a LF using CPYF command. When I use wrkobj LFname i can find the object but when i use wrkobj PFname(of the previous LF) object is not present. How can i copy PF and that particular LF when i give LF name in copy Command

    NicyChn140 pointsBadges:
  • What does a Logical File in AS/400 contain?

    Does it contain data. If not then why do we need a member for alogical file?

    AXM5 pointsBadges:
  • CHGPF doesn’t change the based on LFs

    I used the CHGPF command to change the record layout of a Physical File but the based on Logical Files were NOT changed - the Format Level Identifier still had the old value. 

    QCDT25 pointsBadges:
  • AS400 – DB2

    We have CMPPFM command to compare Physical File member. Is there any way to compare logical File members in AS400? I want to compare 1 multi format logical file in 2 Libraries? How to do that?

    rajeshece1,230 pointsBadges:
  • Question on Physical Files & Logical Files

    Hi Group, I have a Physical file. I created a Logical file on it with a key field as Primary key. Later as per the new requirements i created a LF with composite key as primary key. Should i make any changes to the LF that was created earlier??

    mvrkrishna560 pointsBadges:
  • Is there any conflict if create 2 different unit in as400 with the same objects and same ownership.

    Is there any conflict if create 2 different unit in as400 with the same objects and same ownership. Are the LF's will the PF's dependencies (the LF) will not mixed?

    Jimmy0315 pointsBadges:
  • AS400 Logical files

    I have added a data member to the physical file. But the in logical file it is not accessing the newly added data member. Could any one help me, what should i need to do to access the new data member data through logical file without compiling the logical file?

    Tesxt5 pointsBadges:
  • Not able to restore Logical File after it was damaged and deleted

    We have deleted a Logical File from our system, since it was damaged. But now when we are restoring it from the Entire System using RSTOBJ, the Job is Failing and upon viewing the Joblog below messages are displayed. RSTOBJ OBJ(ZUNS) SAVLIB(PRTDEVDTA) DEV(TAP02) OBJTYPE(*FILE) SEQNBR(344) New...

    Haaiderali215 pointsBadges:
  • how many programmes are using any perticular database file in as400

    hi all, i m working on rpgile,if i have a logical file & i want to know list of programmes that r using that logical file ,what should i do? is there any command ??? thanks

    Ambrish 82310 pointsBadges:
  • How can I see SQL VIEW inside ?

    Dear Friend, I see the VIEWS on AS/400 as logical file,but I don't know wit which SQL it is created. How can I see the SQL Sentence of this VIEW ?

    Vkarakuzu20 pointsBadges:
  • AS/400 file restore help: Physical file and dependent members deleted

    Help!! I had a damaged physical file and deleted it and its dependent logical files. I tried to restore the objects but I get a file mismatch error and it won't restore. I have the backup of the library but can't get my objects to restore. I even tried restoring the entire library and everything...

    Debbie050815 pointsBadges:

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.

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

Following