• how to access QTEMP files in batch programs.

    Hi All, I have developed one tool in AS400 which consists of one CL program and one RPGLE program. I have created 2 temporary files in QTEMP in CL program. RPG program is called by CL. these two files will be used in RPG program in update and output mode. after that i want to run that RPGILE...

    Mohan K695 pointsBadges:
  • AS400 menu opton security

    Hello I need to be able to set up security at the menu and menu option level so that I can limit users to specific menus and menu options based upon their user id. I would like to be able to do this thru a custom program written in CLLE or RPGILE. This program would be interfaced when the user...

    Piano520 pointsBadges:
  • UTC format which is basically the number of milliseconds since Jan 1 1970 convert in RPG

    Is there a straightforward way using rpg ile to convert the UTC date into ymd format

    Cymro5 pointsBadges:
  • open(open file for processing)

    OPEN commmand is used for what purpose in rpgiv.pls also give me the short program of this command.

    Gauravsolanki5 pointsBadges:
  • RPG-ILE Examples

    Please tell me the best site for rpg-ile coding examples in a work atmosphere, not the single line examples like in the manuals. Thanks

    Rpgilequestions0 pointsBadges:
  • Replacing PLIST in RPG /FREE coding

    I am starting to use /Free coding in RPG and like the clarity and readability of the code. However I can not get my head around the replacement to using *ENTRY and a PLIST to use parameters passed in to the program. Sometimes this is passed on a call from a CL program, at other times it is a direct...

    FrankStacey105 pointsBadges:
  • how to ‘*’ in character field in RPGILE printer file

    i have a charecter fied in printer file( in rpg ile) and i want to fill it with  65 '*' 1 way is to move '***** .....*' is there any way to move 65  '*' in a single command , can we do it by edtword (as we know it can we done for numeric vclues) please tell me ...

    Ambrish 82310 pointsBadges:
  • window with a footer

    when outputing a window, how can I get a footer within that window?  

    jdw20 pointsBadges:
  • Data Access Layer in RPG

    Has anyone implemented a Data Access Layer in RPG-ILE, similar to what is discussed in these articles: http://www.itjungle.com/fhg/fhg072104-story01.html and http://www.itjungle.com/fhg/fhg011205-story01.html If so, can you share some of the positives and negatives of the experience? In hindsight,...

    johnpquinn5 pointsBadges:
  • create computations on the fly

    We are primarily a COBOL shop. We have some COBOL ILE and some RPG. I have a need to replicate a function on the I-series that is currently done in Excel. This function allows them to create formulas on the fly to arrive at pricing information. I can work through issues with interactive maintenance...

    Roses060 pointsBadges:
  • 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:
  • 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:

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