We have some RPG code which will end a job if it has a record lock, but I would like to be sure that the job is not 'active' (not doing anything) before doing so. Is this sort of detail available via an API call ? Any examples would be gratefully received.

Hello, I'm currently working in an AS400 native RPG-environment, not ILE, and I want to create a cross reference for a part of the system(about 10 libraries). I'd like to create this by myself with the common commands on our system, I can do this thru DSPPGMREF and DSPBDR, DSPFD, DSPFFD, etc... But...

I know you can set breakpoints without using F6 by typing break and the line number at the debug screen. I need to know how to set up a conditional break point. I essentially need to know exactly when a field is being populated. How would something like this be correctly written: "break when badd3...

Submitting multiple jobs to do a copy to an AS400 standardized file. This is a great command. I have two systems that I use it on. It works well on one system, however, on the other one it likes to submit multiple jobs to copy blocks of 60,700 records,(reminds me of the old FTP process on the early...

Does anyone know of i5 software packages or web services that will allow me to download currency exchange rates to our i5 via FTP. I don't need a conversion of dollar amounts, just the rates. Thank You,

Using prototypes and Procedure interfaces I understand that no parameter may be returned if a procedure is called directly via CALLP. And only one parameter may be returned if procedure is called via EVAL with return. What is the best way to return multiple parameters from a procedure (assuming I...

Greetings, We are required to encrypt credit card fields in the AS/400 files. I am looking for something convenient to encrypt/decrypt field while in the RPG ILE program. Do we need to buy a software? Does As/400 has its own APIs? Please advise. Thanks Gary Liberman

Does the AS/400 have a cross-reference file or files that give the same kind of information about triggers as QADBFDEP and QADBFCST do for dependent files and constraints? If so, what is/are they called? Thanks

According to the ILE RPG Reference manual, positions 21 - 28 of the SDS should contain the statement or listing number at the time of the dump. Whenever I deliberately invoke the dump (via *PSSR) this value is zero. I have checked it in debug mode before and after the actual DUMP and the value is...

Is it possible to have multiple telnet ports listening at the same time for telnet connections on the iSeries? (i.e., the normal port 23, plus one or two additional ports to split traffic, etc.). If so, do you have to configure / start multiple telnet servers on the iSeries (one for each specified...

I download a bank file once a day. I want to keep the last two weeks of files stored in members of file ARCHIVE. Typical member names might be 20041109, etc. How can I purge the members that are more than 15 days old using CL? Is there a way to convert a *CHAR variable into a *DEC variable? Is...

When the color of a field in an AS400 display file is defined as yellow (or turquoise), column separators are automatically displayed, irrespective of whether CS is indicated for the field. I have tried to inhibit the column separators but to no avail. The emulation software being used (BOSaNOVA)...

I use Query/400 to produce a report which has a "control number" in the report heading. This number is stored in a one-record file and also in a data area. The number is used for information only; it does not control data selection. Is there any way to access this information and put it in the...

We have a command validtion program for the STRSEU command which allows us to check who is opening a source member for editing and whether they are authorized to do so. We would like to extend that same functionality to the WDSc editors. Is there an exit point we could exploit for this?

To follow this tag...

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