Search Results | Programming
PREV 1   2   3   4   5   6   7   8   9   10...   20   30   40   50   60   70...574 NEXT
Sort by:  Most Relevant  |  Date
How can we know from which program my RPGLE program is called from.

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

Last updated: Aug 26, 2009   9:41 AM GMT   |    AS/400, RPG ILE, RPGLE
MCH3601 in called program aicapgm

Answer  Hi I am facing MCH3601 error i.e. (MCH3601 in called program aicapgm which may be system program since its object doesnot exist)i.e. POINTER NOT SET FOR LOCATION REFERENCE problem. This problem is coming while calling COBOL programs e.g. C from two COBOL programs A and B. When C is called from pr...

Last updated: Jul 2, 2005   8:17 AM GMT   |    COBOL
Calling programs information in RPG

Answer  I have RPG program which consists around 7,000 lines. Is there any way to see the calling programs from the main program. One way is to manually searching the calling program name in main program. But it also taking so much time to know. So is there any way or command to get the all calling program ...

Last updated: Jun 14, 2013   3:17 PM GMT   |    AS/400, AS/400 commands, RPG Program
How to use API (QMHRCVPM)

Answer  Hi everyone... My first time to this site and I could use some help. I'm trying to use the Receive Program Message API to retrieve an error message that I want to mail to a user. Here's the scenario: Program 1 calls Program 2 calls program 3 calls program 4 Program 4 has an unmonitored message t...

Last updated: Mar 17, 2005   11:08 AM GMT   |    Development
AS/400: Moving programs into production

Answer  I have two programs: Cobol program Copy book program Can I move both programs into the production or single / single program?

Last updated: Jul 6, 2015   5:09 PM GMT   |    AS/400, COBOL
SQLRPGLE Cursors and Recursion

Answer  I'm trying to recursively call a PI in my SQLRPGLE program. Problem is, I get an SQLCODE error of -519 and I'm sure it has to do with cursors and the prepare statement in my PI. Here's the code: pprintPrograms b dprintPrograms PI d program...

Last updated: Nov 19, 2009   11:09 PM GMT   |    IBM iSeries, Recursion, SQL Cursors
Passing Parameters into a clle program from a Menu.

Answer  Hello I am wondering if there is a way to pass parameters from a menu into a CLLE program, whereby the parameter list could be variable. Most Menu options will pass one parameter to the CLLE program; namely the program name that will be called if security is passed. (PARM 1) But, there ...

Last updated: Jan 29, 2008   11:00 PM GMT   |    CLLE
Why a program works in debug mode, but doesn't work at run time?

Answer  I modified program(A) that calls another program(B)to generate a spool file. When I debug (STRDBG)program(A) and break right before the call, it works. But when I got out and end the debug mode and try to run that same program(A), no spool was generated. Then, I bebug only the called program(B)and...

Last updated: Jun 16, 2005   1:54 PM GMT   |    RPG
CPF5032 member already locked to this job

Answer  I have a program written in RPGLE which calls numerous other programs. These programs all share similar files. In my main program, when trying to read a particular file, I get error CPF5032 even though I unlock the file right before I do the setll reade. As a result, I figured the lock must be comin...

Last updated: May 4, 2011   6:39 PM GMT   |    *INLR, CPF5032, iseries v5r4
Files open in service programs.

Answer  Hi Group,If an RPG program calls a service program that leaves files open,then the program ends with SETON LR, should the files opened in theservice program remain open, within the job that called the program?Does RETURN or SETON LR have any affect on Service Program?Regards,Rama

Last updated: Mar 16, 2014   7:17 AM GMT   |    AS/400, ILE
About service program

Answer  I have a service program 'A' and that service program 'A' has been used in thousand (1000) programs. Now my doubt is I want to update the service program 'A' by adding one more module to the service program 'A' and I want to make the thousand programs (1000) to use the updated service program. Could...

Last updated: May 10, 2013   5:33 AM GMT   |    AS/400, RPGLE
Passing parameters RPG-CL-RPG

Answer  I am trying to modify an intermediate CLLE program to submit itself to batch. The calling program (ILE RPG) passes a parameter as a character field with a number in it. The CL program receives it as a numeric field and then calls another RPG program and passes that parameter. The final RPG progr...

Last updated: Oct 28, 2011   7:47 PM GMT   |    CLLE, Parameters, RPG ILE
Execution of One RPG program based on completion of another RPG Program

Answer  We need to execute a series of RPG programs in a sequence but before executing the program we should assure that previous program was completed normally. If previous program not completed normally, user should be adviced that he can execute this program because previsous program was not complted no...

Last updated: Feb 9, 2012   8:50 AM GMT   |    AS/400, AS400 iseries
AS/400 development

Answer  Service Program contains 10 procedures. 5 Procdures in that service programs are defined with export keyword.5 Procdures in that service programs are defined with import keyword. i am calling the procedures from other ile program. How many procedures are available for me? How to hide the procedures...

Last updated: Jan 5, 2009   5:59 AM GMT   |    AS/400 service program, RPG, RPG/400
How to update a service program into a program?

Answer  Using UPDPGM to bind a module into a program works fine. Do I use this same command to bind a service program into a program (and just put it in the Module parm)? Or is there another command similar to UPDPGM? An older version of the service program is currently bound into the main program. I us...

Last updated: Nov 24, 2009   10:29 PM GMT   |    RPG ILE, Service program
Wierd messages in ISDB

Answer  Hi, I have an elaborate program stream that starts with a CL which calls an RPG program that builds an OPNQRYF statement and selects records. After that, there are 9 RPG programs, one of which Im trying to debug using ISDB. When I try to step through the RPG program, I receive a group of message...

Last updated: Oct 3, 2008   3:42 PM GMT   |    ISDB, RPG
Enterprise Cobol obtaining calling program name

Answer  Enterprise Cobol v3.4 on Z/OS 1.9. Batch called program. I want to parse through mvs data areas to obtain the program name that called my program(dynamically). I have viewed examples on Share website to get some system info. I need specifically the program name that called my program. Is this possib...

Last updated: Feb 2, 2010   8:20 PM GMT   |    COBOL, Data Area, MVS
AS/400 SERVICE program

Answer  How can we call service program? Can we call service program by using CALL or CALLP or CALLB opcode or any other way? Does a service program used for attaching to program? When service program needs to be updated.

Last updated: Apr 16, 2015   1:29 PM GMT   |    AS/400
Installing Oracle database on Windows 10 installed in Mac hardware using bootcamp

Answer  I have some problem while I installing oracle database on windows 10 installed in mac hardware using bootcamp. How can I solve this problem? Below are my BuildPath, and errors. C:\oracle_ex>set ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\hyogeun\AppData\Roaming CLASSPATH=C:\Program File...

Last updated: Mar 21, 2018   1:01 PM GMT   |    MacBook Pro, Oracle, Oracle Database
RPG stored procedures

Answer  Remote client calls RPG stored procedure which invokes RPG program. I am then calling another program from initial program but when I make this call it does not return result set. Can I call one program from the called program?

Last updated: Nov 11, 2018   4:40 AM GMT   |    AS 400, RPG, Stored Procedures
PREV 1   2   3   4   5   6   7   8   9   10...   20   30   40   50   60   70...574 NEXT

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: