• How to release lock on a record in RPG/400

    What type of opcodes should I use to release the lock on a record?

    Ben Rubenstein6,065 pointsBadges:
  • Error message CPF4131 AS/400

    On of our users is trying to run a job but he's getting an error message:CPF4131. Message . . . . : Error message CPF4131 appeared during OPEN (C G D F). Cause . . . . . : RPG procedure IVD403R1 in program ********/IVD403R1 received the message CPF4131 at statement *INIT while performing an...

    Lemonjello100 pointsBadges:
  • CPF4328(C S D F) Actions

    Hi all, while i am running a RPG program, even though i specified STRCMTCTL *CHG before calling,still i am getting CPF4328(C S D F), when i reply with D, i am getting another error message ..." Application error RNX1216 un monitored by pgm at Statement 00001000001". Can any one clarify me by giving...

    Sai4AS4001,420 pointsBadges:
  • How to get the old file data into a new file

    In my existing application, some RPG programs are reading the data of two different files (Old files) and using that data for comparison purpose in these RPG programs. Now I need to use a different file (New file) instead of the old files. But the new file has to get the data from these old files...

    Sai4AS4001,420 pointsBadges:
  • Importing iSeries SpoolFiles in Windows

    I'm importing succesfully iSeries Spoolfiles in Windows Systems with an ActiveX/VisualBasic application and the CA400's cwbobj.dll. In order to optimize my VB app I would like to have specific informations about cwbobj's function ReadSplf and about filtering the Spoolfiles list by Outq. (Sorry for...

    Technet30 pointsBadges:
  • Data Conversion on IBM AS/400

    Hi, We're converting some old master files in to new format files. These master files have around 58 million records each. We wrote COBOL programs to convert the format and write to the new files. In order to speed up the process we are splitting the each master file into 20 parts(i.e., 20 files...

    DataConversion0 pointsBadges:
  • How can I know the configuration of my AS/400 system?

    Hi, how can I know the configuration of my AS/400 system, like version, etc. Thanks!

    Ambrish 82310 pointsBadges:
  • Free websites to access AS/400

    Hi, can anyone can tell me the free sites to access AS/400, where we can do the actual RPG coding?

    Sabarish60 pointsBadges:
  • Qshell CP Command Error

    Hi, We have engineering drawings on a windows sever and the links exist to the iseries. I need to copy the drawings from one folder to another folder with the name of the mfg order they are tied to. I am using qshell and receiving the following error: Press ENTER to end terminal session. qsh:...

    NYRANGER245 pointsBadges:
  • Name Stream File based on data in file.

    Hi, I'm not even sure this one is possible. I can create and write to a stream file with no problems. Now we want to create individual attachment files for Mapics for manufacturing orders. A file contains the individual manufacturing order numbers. As we read the file we want to create a steam file...

    NYRANGER245 pointsBadges:
  • RPG

    How to read distinct record through RPG?

    dwivediviv70 pointsBadges:
  • Stored procedure from PRGLEV program

    Hi, I'm calling a stored procedure from RPGLEV program. I'm getting error pointer not set for location referenced. the SP has 3 parameters, numeric, numeric, Character my call stmt is CallPĀ  SP_Prototype(num1:num2:Char1) The program crashes....any thoughts? thanks, NG

    Nutangujar895 pointsBadges:
  • SQL system date

    I have a beginner SQL question. I'm new to using SQL on the iSeries. I want to get the system date and compare it to a date in a file and depending if its 30 days past delete that record. I can get most of it but the system date is driving me nuts. How do I get it and how can I convert the dates to...

    RonKoontz1,780 pointsBadges:
  • Subfile program to display a load all subfile

    Hi, I have written a simple subfile program to display a load all subfile. When I press page down which is automatically handled by O/S, it displays me another set of records. From the second screen, if I press ENTER, it comes back to the previous screen which should not happen. Only, when I press...

    A1b2c3330 pointsBadges:
  • Change attributes of a printer file using CHGPRTF

    If I change the attributes of a printer file, say LPI,CPI..etc using CHGPRTF command, do I need to compile the RPG program again that uses this printer file? Thanks

    A1b2c3330 pointsBadges:
  • RPG LDA format

    Is there a current date in the LDA?

    cgn5 pointsBadges:
  • Switch multiple indicatos On/Off using RPG IV

    I have to switch on/off multiple indicators . I have a code like this DdSTestind Ds Qualified Based(Indptr) D dVInd01 N D dVInd02 N D dVInd03 N D dVInd04 N D dVInd05 N D dVInd06 N D dVInd07 N D dVInd08 N D dVInd09 N D dVInd10 N DdSTestin Ds Qualified D dVInd01 N D dVInd03 N D dVInd05 N D dVInd07 N...

    Sasikumarr195 pointsBadges:
  • Use SETLL to read set of records

    Hi I have a set of records whose key has duplicates. Can SETLL be used to read these set of records? I need this to be done as part of a loop.

    Flint20 pointsBadges:
  • Message subfile to load error messages

    I am using message subfile to load error messages. I am calling a CL program to load and clear message subfiles. While clearing, I am passing the name of the RPG program to the CL program and the code is RMVMSG MSGQ(Program Queue Name) Clear(*ALL) But I am getting the message that message queue...

    A1b2c3330 pointsBadges:
  • RPG: Differences in EVAL

    I have failed to find the difference between ELAV(R), EVAL(M) and EVAL(H). Please help me to find the difference with one example.

    rajeshece1,215 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