• Problems using QTEMP in a CLLE

    I have a CLLE program. I'm creating a file in QTEMP. Then I do an OVRDBF to the QTEMP file. Then I call an RPGLE to output records to the QTEMP file. The records are actually going to a file in my library list, not QTEMP. How do I get a CLLE to use my QTEMP file?

    krtkrt5 pointsBadges:
  • CPF4102 ON FILE THAT IS IN QTEMP ACTIVATION GROUP PROBLEM(MAYBE)

    CLPgm_1 …..: FILE_1 IS CREATED IN QTEMP FROM A CRTDUPOBJ AND DATA IS COPIED INTO IT FOR A CERTAIN MEMBER. CLPgm_1 …..: CALLS CLPGM_2 THAT EVENTUALLY DOES AN OVERRIDE WITH MBR(&FMBR) SECURE(*YES) OVRSCOPE(*JOB) SHARE(*YES) OPNSCOPE(*JOB) FILE_0 TO FILE_1. ClpGM_2……: CALLS RPGPGM_1 AND THE...

    Amjim25 pointsBadges:
  • Can you use an USROPN speceifcation on a file that is being overridden?

    Can FILE1 in the over ride also have USROPN assigned to it in PGM1? PGM  OVRDBF FILE(FILE1) TOFILE(QTEMP/FILE2) + MBR(&FMBR) SECURE(*YES) SHARE(*YES) CALL *libl/PGM1 ENDPGM

    Amjim25 pointsBadges:
  • Error while using OVRDBF

    Hi I am using OVRDBF command in my cl program in order to apply a particular select criteria on a database file in order to pass it to the RPGLE code. The syntax I used is as below: OVRDBF     FILE(MYFILE) TOFILE(MYFILE) +                      MBR(MYFILE) OVRSCOPE(*JOB)...

    VivekSharma120 pointsBadges:
  • RPGIV Coding Approach for 1 billion records

    I have 1billion records in a PF.Key filed  is Date.I want to generate a report based on Key field.Which approach will be best for me (I mean shall i go with OVRDBF or any other approach)Please suggest.(RPGIV-Free Format-V5R4)

    Pankaj112265 pointsBadges:
  • What could be the reson for OVRDBF and OPEN on file is not working in RPGLE program.

    Hi All, Can anyone please help me with below issue. The is a program abend in our production system in RPGLE program and with in that following operations happening, but i found errors while running program as below. following are the breif Sequence of operations written in RPGLE: 1. File(FMABCF)is...

    Mohan K695 pointsBadges:
  • What is Open Data path in OVRDBF?

    What is meaning of Share(*yes) In Ovrdbf?

    Sms121185 pointsBadges:
  • Unable to override a PF member

    Hi, I am trying to override a physical file using CL. The CL program is being called by a CBLLE program. In the CBLLE program, I want to process the overridden member.But,all the processing is going on the first member only.It looks like as soon as the CL program terminates DLTOVR gets executed...

    Prabhjot8515 pointsBadges:
  • OVRDBF without any parameters specified

    Can we specify an overide statement without actually specifying any parameters to be overridden. In one of the exisiting codes (in a CL)I saw a line as follows: OVRDBF             File(ZFT00981)     ToFile(ZFT00981) No parameters were specified. The file name is exactly same. The...

    WaheedAnsari5 pointsBadges:
  • OVRDBF SHARE(*YES)

    When OVRDBF SHARE(*YES) is used on "FILEA" and you have "FILEA" defined in "ProgramA" and "ProgramB". I know that doing a READ, START etc... in either program moves the Pointer for both programs since they share the buffer. But are the FIELD values for "FILEA" the same in both programs? EXAMPLE:...

    BeanBaggs220 pointsBadges:
  • How to use “Program-Described-File” for converting an AS/400 numeric field into Char-field

    My situation is..... I have a file which is old & got 18,000 records in it. It has a numeric-field(Amount, Len 9,2). Now the 'Amount'Field in the file is changed to 12-char, in the new library. only this field's name is changed in order to avoid ambiguity. Otherwise the file-name & other fields...

    svankipu620 pointsBadges:
  • Examples of OVRDBF in CLLE

    sir  i am learninig about as/400 .but i dont have clarity about ovrdbf topic clle plz give some examples about ovrdbf in cl  with clarity

    Overdbf5 pointsBadges:
  • OVRDBF help

    Sir, Im less aware abt OVRDBF concept plz tell me When it is used?, If we Override one file then it is allowed in other program? When it is allowed when not allowed? Like that  , Explain me with Example ....   Thankyou in advance

    Sms121185 pointsBadges:
  • AS/400 records

    Suppose i have 3 members. how to read the records from all the members without using OVRDBF

    Hemavijay85 pointsBadges:
  • AS/400 : DB2/400 file override

    I have following scenario:- - in CL, override on PF to share ODP - Calling PGMx where above PF will be open using OPEN operation. - In PGMx,once file is open,calling another pgm(PGMy) to read the same file ( PF ) for specific record using READ operation (without SETLL ). Question : Record...

    Samule400160 pointsBadges:
  • ovrdbf in rpg

    hi guys.. i am getting a file name as a variable from CL program. based on some condition i want to write in differnt members of the file.since the file name is stored in a variable i cant able to declare it in f spec. so i created a duplicate object for that file and i declare it in f spec. Now i...

    Santhaseelan10 pointsBadges:
  • OVRDBF AT DIFFERENT CALL LEVELS

    HI ,      I am using the command  ovrdbf file(file1) tofile(file2) in the CL program and i am calling an RPG program again in that i want to override the same file(file2) to different members(using qcmdexe). how to do that?  

    Friends10219875 pointsBadges:
  • OVRDBF Not working as supposed to

    Here's the program flow CL1 calls RPG1 RPG1 calls CL2 CL2 has OVRDBF on fileA that is being used in RPG1 When the control gies back to RPG1, the file is not overriden. So I thought it might have ended at call level and I tried to do OVRDBF in RPG1 after the control come back from CL2 but still no...

    Jahan50 pointsBadges:
  • RCVF In CL

    I am using nested RCVF to read PF's in a CL program. The second iteration of the inner loop does not happen because the pointer is set to end of file. How do I reset the pointer to start at the begining? I have tried OVRDBF, OPNQRYF, POSDBF and deleting and recreating the PF. Thank you for your...

    Ashnirody100 pointsBadges:
  • WRKOBJ System Physical File (QSYS)

    Hi guys, Do u guys know what is the name for the physical file of WRKOBJ in Qsys? I need to OVRDBF with this file. Do u have the reference for the System Physical file for AS400??? Thanks!!!

    SoulReaper20 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.

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