• Why a program works in debug mode, but doesn’t work at run time?

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

    Techman250 pointsBadges:
  • Passing parameters RPG-CL-RPG

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

    Vatchy1,415 pointsBadges:
  • MCH3601 in called program aicapgm

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

    Laxmanrao0 pointsBadges:
  • Run CWBLOGON /c to clear IBM Client Access password cache

    How to run CWBLOGON /c to clear IBM Client Access password cache? What are the steps?

    Jailakshmi70 pointsBadges:
  • Execute SQL Server Procedure from the iSeries

    I have an internal web address for a SQL Server application, where they want to run an iSeries stored procedure to connect to the SQL Server, call a SQL Server Stored Procedure, and receive resulting values back to the iSeries. Is this possible?

    sonorato15 pointsBadges:
  • Limit Query PF File Size

    When creating a PF thru AS/400 Query, would like to limit file size?

    Yuehan6835 pointsBadges:
  • Pasing Distinct values to UDFs in SQLRPGLE

    Hi, I need to execute a query like, select UDF(col2) from FILE.    col2 is not a unique field in FILE. I don't want to calculate UDF(col2) for same values.  FILE col1 col2 1      77 2      77 3       85 4       85 5       52 I need to handle this situation in query itself....

    xselvam20 pointsBadges:
  • How to read physical file and split to another physical file

    Hi, how to split physical file when we have first column is 1? that means page break. Than create new physical file automatically when split file.

    amiruladli9540 pointsBadges:
  • Sending a trigger file from the IBM i to an HTTPS server website

    Hello, first of all, we haven't done this before so we'd like to find out if it can be done or not. We have a new project that requires us to to send a trigger file from our IBM i using the HTTPS protocol. Basically, when our database file on IBM is available for update, we have been asked to send...

    IS Questions115 pointsBadges:
  • DB2 Triggers not always firing

    When EDI writes our order detail lines to the physical file which is triggered, the triggers are not firing. However, when entering detail lines through a screen the triggers fire and and all is well. Through journals I can see the EDI program is writing all lines in  probably less than 1 second...

    UARTJ230 pointsBadges:
  • Create table dynamic SQL using SQLRPGLE

    Hi. How can I create table using dynamic SQL using SQLRPGLE?

    amiruladli9540 pointsBadges:
  • infinium file names

    I have experience with infinium but it has been a while. Can someone send me the file names or structures of infinium software, AR, AP, Fixed assets, payroll? Any of them will do. Thanks.

    Ngevor5 pointsBadges:
  • Upload Excel file into AS/400

    Can an excel file be uploaded into AS/400?

    Tammyc15695 pointsBadges:
  • BPCS V6.1 Shop Order Status

    Can anyone provide me with a list of what the shop order status codes mean in field FSO.SSTAT?

    jaggity25 pointsBadges:
  • RPGLE SETLL / READE for update getting record lock on different key

    We are encountering sporadic unexpected record locks with update files using: setll (Key1) MasterFile; // Partial key. dou %eof(MasterFile); reade (Key1) MasterFile; if not %eof(MasterFile); // [Stuff] update MasterFmt; endif; enddo; Looking at the problem record by RRN, its key does not match...

    SemiTechieGeo70 pointsBadges:
  • iSeries & Godex G500 printer

    I would very much appreciate it if anyone knows the parameter values to configure a Godex G500 printer i=on an iSeries. Thanks very much!

    ermc102210 pointsBadges:
  • How to create a AS400 Qshell script (.sh) file

    Hi, I want to run a command STRQSH CMD ('/REPORTGENERATOR/move2current.sh') Where move2current would be a .sh file with commands as below: rm /HPA_CURRENT/_YOUR_AS400_NAME*.CSV cp /REPORTGENERATOR/*$(date '+%Y%m%d')* /HPA_CURRENT #set new owner chown hpa_transf /HPA_CURRENT/*.CSV My question is how...

    DeepikaR115 pointsBadges:
  • Setoff EndOfFile and Found built-in functions

    How can we manually setOFF and setON the %Eof and %Found built-in functions on RPGLE? (Without using reading opcodes)

    csuoaananth110 pointsBadges:
  • IBM API for viewing debug data

    I want to check the debug view of all programs of a particular library. Tedious to go with DSPPGM on all programs and verify the DEBUG DATA parameter. Is there a system API that provides this information? I came across QCLRPGMI API and pass format name as PGMI0100. However, this doesn't have the...

    sri8707360 pointsBadges:
  • Printing Superscript / Subscript from RPGLE

    How to print subscript / superscript through RPGLE into spool file. This gets converted to PDF at the end. How to print "1st" as 1st using RPGLE. The printer field type is character length 5. Printer device type . . . . . . . . . : *AFPDS Coded as @Symbo = '1' x'09 'st' x'03 It prints "1 st ", with...

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

Thanks! We'll email you when relevant content is added and updated.

Following