• RPG/400 Error RNQ1255

    I have a RPGILE (XOP560) program. I am able to compile sucessfully this program. once i call this program i am getting below error. please advice me. Additional Message Information Message ID . . . . . . : RNQ1255 Severity . . . . . . . : 99 Message type . . . . . : Inquiry Date sent . . . . . . :...

    Askt265 pointsBadges:
  • AS/400 CL Unit of Work Question

    Assuming I am not using any commit control statements and I have a simple CL that executes 2 RPG programs (one after the other); I'll call them step 1 and step 2. Is there a single unit of work that covers both steps or is each step the beginning and ending of a unit of work? That is to say, in...

    boneshark5 pointsBadges:
  • 24 digit number: Arithmetic operations?

    Hi, I need to work with numbers which are digits long. Why? Because this is the way to create a German IBAN code from Bank Code and Bank account: Concatenate Bank Code (8 digits) plus Account nbr (10 digits, leading zeroes) plus "131400" to a 24 digit number. Compute Modulo 97 of this number. (or...

    gast95185 pointsBadges:
  • SQLCOD = -7008 when doing an insert into file using SQLRPGLE

    Hi, I'm trying to insert selective records from one file into the same file in another library. I have to do this for many file. Am building the query dynamically using SQLRPGLE. Am using a PREPARE statement and an EXECUTE statement to run the query. While the PREPARE statement ends fine, am...

    SasiKumar0 pointsBadges:
  • How To get The Cursor position on particular field?

    My display File Contains three Fields as like name= ........  Roll =........  Marks=.......  But In that Case when Program Call, First Cursor Pos On name When Name Will Enter Roll No will Automaticalyy Disply. But I have To Modify Marks Field,,, So When I will Enter Name After That I want To...

    Sms121185 pointsBadges:
  • How do AS/400 stored procedures get output?

    I have created a CL which calls an RPG program. Now I have to create a stored procedure which calls the CL! As RPG normally sends back the output to CL! How should I send back the output to SP? Will SP normally pick it or is there any command to send back the output to stored procedure (SP). I have...

    bharathtata30 pointsBadges:
  • Avoid “black screen” between two processes in CL program

    Hi guys, I have my CL proc, inside it I call my PGM1 and PGM2, ..... CALL       PGM(MYLIB/PGM1) CALL       PGM(MYLIB/PGM2) ... PGM1 excpt a screen and I fill it then press F8. with F8 seton LR, end PGM1 and start PGM2 that process file data with parameters passed from PGM1 and give me print...

    Damiano20 pointsBadges:
  • RPG vendors compatibility

    Is it possible to manipulate a RPG program of one vendor to make it compatible with another RPG vendor?

    VijayMehta5 pointsBadges:
  • RPGLE multi-file processing with no match fields

    I believe I have found a bug in the way that RPGLE handles primary and secondary files with no match fields. My program will not process the primary file if there are no records in the secondary file; but it will process the secondary file, if there are no records in the primary file. RPG bug?

    Modiyooch760 pointsBadges:
  • Selecting particular record from SRC-PF

    Hi, How do I get/select particular record from a src-pf to update as for requirement?

    raj12345 pointsBadges:
  • See consolidation of program

    How can I see the consolidation of my program? Do I use RPG, RPG ILE or CL to do so?

    monivaz30 pointsBadges:
  • Where to find AS/400 RPG concepts

    I need practice questions to brush up my AS/400 RPG concepts. Can anyone help?

    karandeep5 pointsBadges:
  • CPF4169 error appeared during OPEN for screen file

    In reference to Ibmi ILE programming environment. I am in a screen program which is set to 132 length. There are multiple calls to other programs that are set to 80 length where there is not a problem getting the CPF4169 error. So now I have a new program to call and I am getting this error and I...

    sewell90 pointsBadges:
  • Automate AS/400 backup verify program

    Hi All, I perform AS/400 full system backups using go save, option 21 every week. Once backup is done, I'll give command DSPLOG LOG(QHST) MSGID(CPF096...etc) and verify how many libraries have been saved. I want this to be automated, can we write a program (CL/RPG) to pull all this information into...

    sivaknagula55 pointsBadges:
  • What has changed in AS/400?

    Hi, I returned to AS/400 after about 10 years. I have developed a lot of software in RPG/400 and intensive use of CL, without SQL or query. Now I return to the AS/400 for work, what has changed? Can I start with RPG/400 and CL or I have to learn others. Thanks.

    Damiano20 pointsBadges:
  • DLCOBJ command not working

    I have a program that allocates an object (*file), calls a program, then deallocates. The dlcobj does not work. RPG PROGA calls CL PROGB which calls CL PROGC. PROGC does the alcobj and dlcobj. However when the program returns to PROGA (interactive RPG), the object is still locked. Any ideas?

    ttufankj25 pointsBadges:
  • DCLF in CL

    Hi! Can I open two database files in a CL program using DCLF? I've been trying to do it, but I receive an error related to OPNID. If you could send me an example, it would be greatly appreciated. Thanxs. Melissa

    MelissaG20 pointsBadges:
  • RPG III Validation

    Hello, I'm a beginner on AS/400. I'm developing a Supply Maintenance program that have three fields for three supplys but each supply has to match for an existing Vendor Number from another physical file, my question is how can I do that validation. Thanks.

    k3v1N2435 pointsBadges:
  • Field missing in Synon created RPG when renames database fields

    I have an RPG program, created by Synon that, when it renames Input file fields, just a couple of the fields being renamed to are not defined. Nothing has changed in the program or the files since the last time it was gen'd and compiled. What could be causing this?

    jlgarrett5 pointsBadges:
  • AS/400 Group Jobs being held after the first empty job is run

    I am using STRGRPJS JOB to submit a group job but after the first job is run which is a empty job the remaining jobs are being held. Can anyone tell what should i do so that they don't go in held state? Thanks.

    aceamar25 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