• DDS / RPG – cursor management

    My question is regarding cursor management. My application displays list of members (using RPG and DSPF). There is one input field per row, in which the user enteres the option he wishes to preform on the selected row. The RPG processes the selected row, by the given option. My question is: When...

    GonenSho0 pointsBadges:
  • RPG ILE Debugging

    How can I STRDBG for an interactive job that's already running executing an RPG ILE program. Program already compiled with #all debug view, but no way to predict when the production program is going to fail.

    RapidoContrater0 pointsBadges:
  • QSYSOPR not authorized to RTVUSRPRF

    I have a job that runs continually in it's own subsystem under the QSYSOPR profile. I need to retrieve print default values of the user that triggers the job to run. When I use the RTVUSRPRF command or QSYRUSRI API, I receive USER NOT AUTHORIZED message. I looked at the authorities for QSYSOPR and...

    anncyb80 pointsBadges:
  • Can anyone please tell me what is the basic difference between arrays and tables in RPG.

    Hi All, Can anyone please tell me what is the basic differance between arrays and tables in RPG and for which type of requirement we have to use arrays and tables. since there might be bit difference between both of them. Please explain me.

    Mohan K695 pointsBadges:
  • Access SQL Server 2003 database from ISeries

    Hello everyone, I have searched the web for SQL Server/ISeries connectivity and have come across some interesting options: java, JDBC etc. But they have not been very clear. I understand that it is not a simple task, but has anyone successfully accessed an SQL Server database from ISeries using SQL...

    Orozcojoe0 pointsBadges:
  • Reading a file twice in CL

    I declared a file in CL. I read all the records, i.e End Of File has reached. Now again i want to read he file from beginning within the same program.I tried with OVRDBF and POSDBF.But could not succeed.Can any body help me?

    Kumari0 pointsBadges:
  • data search using popup window

    Is there a sample RPG/CL/SQL code on how to create a popup window to search data from a PF?

    sarapsm5 pointsBadges:
  • Input or Update Primary files and (shudder) the RPG cycle …

    First, I'd like to say that obviously there are some very knowledgeable midrange people here ... lots of good tips to pick up ...  I've been programming RPG since the early 80's ... and I notice that   very few people ever use or even refer to the RPG cycle any more ...  nor do I ever see IP or...

    ASWDEVELOPER405 pointsBadges:
  • STRQMQRY not sum up the right total

    I try to use STRQMQRY to pass in a variable to run a query. It works great except the query suppose to have a grand total, for some reason, it doesn't add up right. When i run the query manually without using STRQMQRY, it works fine. Anyone know what do I have to do here? Thanks.

    Heidiltl0 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:
  • having trouble restoring a tape written by a Sys38

    the tape file is not created by a SAV*. We've been trying various combinations of CPYFRMTAP without any luck..... all three data file label say rec length =0 and block length = 16384. the dumped data looks like it might be a library.... with sources files. any ideas??

    Ccrinc0 pointsBadges:
  • CPYTOPCD command.

    Are any of you familiar with this command? Can this be used to copy something from the AS400 to a shared folder on a Windows system, or do any of you know how to accomplish this?

    Bkr0963c0 pointsBadges:
  • MMAIL

    Hello everyone, I recently downloaded the MMAIL Utility for Windows from http://www-922.ibm.com/mmailh/wmimemenu.htm I believe it installed successfully, but I get the following error for several functions like edit, display or open mime files. Error: "The value specified for one of the parameters...

    Orozcojoe0 pointsBadges:
  • OPNDBF

    This may sound stupid but I have not used OPNDBF command till now. I tried to use it thinking it will perform the same function as opening a database file in a COBOL program. I issued OPNDBF in a CL program and then tried to read records within a COBOL program without opening it in the COBOL...

    Pgsdeb20 pointsBadges:
  • RPGLE Build in function (BIF)

    It is imposable for me to set the length of Variable-Length Field D ServUser S 30A VARYING D IDLenth S 3i 0 C Eval %Len(ServUser) = IDLenth After this statement length of field ServUser still is 30 pos long. In Debug mode I get the message CPF7E2B: Type compatibility error occurred. Thank you for...

    Igor0010 pointsBadges:
  • Processing time used by a job

    Herman would like to know: How can one programmatically retrieve the total processing unit time (CPU time) used by a job? -- Michelle Davidson, editor, Search400.com

    MichelleDavidson435 pointsBadges:
  • Access LDA for job waiting on a JOBQ

    Is there a way to access the LDA for a job that is waiting in the JOBQ? I want to write a program to monitor jobs in a JOBQ and move them to other JOBQs based on information that is in the LDA.

    DaveMi0 pointsBadges:
  • Need help using RUNRMTCMD

    Greg is experimenting with the RUNRMTCMD on the AS/400 from a command line. He writes, "Can I run a VRPG exe on my local PC from the AS/400? If so, how? I keep getting a message CPE3447 'A remote host did not respond within the timeout period'. First, where can I get my local PC name? Second, how...

    MichelleDavidson435 pointsBadges:
  • Triggers and commitment control

    We are having problems finding a way to get trigger programs included in the needed commitment control boundary. The process starts with a JDBC connection to the 400, and via Java executing processes (SQL) that make changes to the DB files. The files are triggered, and any of the files the trigger...

    BoomerSooner0 pointsBadges:
  • Automatic email notifications from iSeries

    Nagi needs to write a code on his iSeries 870 to send a notifications to his e-mail, such as server rebooting, jobs not started or need reply, etc. He's a Windows guy, and doesn't know where to start. Can someone help him with the code and possibly send him steps on how to write it and where and...

    MichelleDavidson435 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