• MONMSG and SNDRPY

    Dear, I'm trying to write a small program to run my backup job via BRMS... and I would like to check the different errors and reply automatically to few of them. Ok, I can monitor the error messages through MONMSG but how can I reply to them ? I know that I have to use SNDRPY but how can I have the...

    PierreLG45 pointsBadges:
  • Copy Objects( SRVPGM, MODULE ) to other system(iSeries)

    Hi everybody, explain this, I have two iSeries one with all my sources and other only have object, so the first one I made my test an after that I normally copy objects to second system. Now I have a doubt, what I need copy for second system if I have modules and service programs?  And before I...

    BUG68235 pointsBadges:
  • In what circumstances i need use UPDPGM and UPDSRVPGM

       Hi everybody,[o:p][/o:p] Explain me this question:[o:p][/o:p] I have 2 modules 1 service program and 1 program, so I need make a  few modifications in a program, after that I need again make the same creation like in the begin or with UPDPGM and UPDSRVPGM I have the right result? And I made...

    BUG68235 pointsBadges:
  • /COPY function and how work?

    Hi everybody, I know what /copy made in RPGIV, but I need a certification for this. In a Prototype I put /copy after I compile I don’t need the source of /copy until the object need modifications, that's right? And after this if I copy this object to other machine, is possible I have errors when...

    BUG68235 pointsBadges:
  • SETLL and READE or CHAIN? Performance Issues

    HI, I have a batch RPG programs used to do some updataions and reporting, currently the job takes around 1 sec to process a record. We want to further reduce this time. Changing the run Priorty may make the job run a bit faster, are there any other parameters that can be used? also am looking at...

    Caprius0 pointsBadges:
  • How to make a batch job run faster (excpet for the run priorty), Code changes?

    HI, I have a batch RPG programs used to do some updataions and reporting, currently the job takes around 1 sec to process a record. We want to further reduce this time. Changing the run Priorty may make the job run a bit faster, are there any other parameters that can be used? also am looking at...

    Caprius0 pointsBadges:
  • Where is the source file of an ILE program?

    Hi,  I need to find out the name of the source file of a ILE program. I am getting a blank using DSPOBJD. I know it can be rtrieved using dsppgm but I need to run the process in a program and strore the output in a file.  Pls help... !! This is kinda urgent...  Thanks,  Ankita...

    Ankita135 pointsBadges:
  • Determine Java Version from RPG

    I have multiple solutions dependent upon the version of java or the lack of java on an iSeries, all controlled from RPG. From RPG,how can I determine if java is installed on the machine and if installed, what version? Any ideas?

    DaddyCOZ0 pointsBadges:
  • Email message sent is printing 2 pages

    I have written a process where a salesrep remotely orders a special item that we don't normally carry and it signals the buyer to order it.  When the item is ordered the system emails the salesrep. I use SNDDST with *LMSG with a short note stating the item has been ordered with item, vendor,...

    filuphaze475 pointsBadges:
  • %diff and data structures

    I have dates that come into my program as cn yy mm dd. I put these pieces in a ISO data structure to do some calcs. I want to find how many months transpired between to dates using the %diff. Can I do this with the dates being in a data structure? My program is telling me my parameters are invalid....

    JLGARSEEYA0 pointsBadges:
  • synchronize jobs

    Hi! How can I synchronize two or more RPGLE/CL programs that are executed via SBMJOB command, in order to avoid conflicts in using files and dataareas? If you could send me an example, it'll be greatly appreciated. Thanx in advance, Meli :)

    MelissaG20 pointsBadges:
  • verify data file

    Hi everyone! I've a CL program that copies a spool file into a PF file. Is there any way to compare both files, in order to assure they have the same information? Thanx in advance :) Meli

    MelissaG20 pointsBadges:
  • Utility to Print RPG Output Specs

    Does anyone recall or use a utility that was used in "the old days" to print a listing of the O-specs in RPG II. The utility would review an RPG source member. It would then print a listing of what the output heading and detail lines would look like. It used "X"s and "9"s to show lengths of fields...

    MikeBaker5 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:
  • Use of %Lookup BIF in Free form RPG – V5R3?

    Hi, I am having a problem when I try to use the %Lookup BIf in free form RPG. It doesn't seem to be functioning as it is supposed to. Is there something that I am missing (like PTFs) or is there a workaround to this problem if it is a previously known issue? Thanks for your help!!

    Adityavarma0 pointsBadges:
  • How can we know from which program my RPGLE program is called from.

    Hi All, I have one RPGLE program (PROG1)is calling from 10 programs, I got one requirement i.e if my program PROG1 called from 10 different programs my program PROG1 should perform 10 different functionality in my PROG1. So if i want to write code for 10 different functionalities in PROG1, first of...

    Mohan K695 pointsBadges:
  • ILE Best method of Parameter handling using Procedures

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

    Barryo35 pointsBadges:
  • Can one use strdbg to trace code through a interactive program that allows update to display screens

    Can one use strdbg to trace code through a interactive program that allows update to display screens. I can get  the add item and delete item part to work but not the update/change function which craps out with a error message. There seems no reason for this message, but there has to be a reason...

    nitzinger385 pointsBadges:
  • Debug ILE Cobol 400

    How can I display (Eval) subset of a filed while debugging ILE Cobol program. How can I view the content of a field from specified position and lenght. I know how to review the content for a specified lenght, but can't find a way to view part of the string from position 256 for example.

    GalB5 pointsBadges:
  • How to use debug on a interactive program with subfiles

    I want to know if you can use debug on a interactive program that uses subfiles to hold the modify data?

    nitzinger385 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