• Related to move array opration

    I have following example in rpg Movea ex1(1940) ex2(1920) here ex1 is an array of length 1940 and ex2 is a data structure of length 1920, if the move array operation performed, Is there any loss of information was there?

    sivakesava240 pointsBadges:
  • RPG date calculations

    I need to add 28 days from the system date and output it into a file in the format mmddyyyy. I can not use free RPG or RPGLE. Could you help, please?

    Larisagas265 pointsBadges:
  • Parameter Passing: RPGLE to CMD to RPGLE

    Hello, I have an RPGLE program that I am using to call a command with 1 parameter. The parameter is a container number, 11 positions alphanumeric. I want to be able to run my RPGLE program, execute the command via QCMDEXC and receive/process that parameter within the same RPGLE. Is this possible?...

    Eric Witham690 pointsBadges:
  • How do you print shading in RPG

    How do you print shading in RPG?

    dou123415 pointsBadges:
  • Replace leading blanks with zeros in RPG

    I have a 3A field on my display file, when user enters ' 50' I want to chain the file with '050' since record in stored in file like that. How can I replace the leading blanks with zeros in this case?

    RamvishakRamesh2,410 pointsBadges:
  • RPG: AS/400 question

    AS/400 question 10: In RPG 1 I have 6 parameters and in RPG2 I have 9 parameters being passed. I have RPG 3 which processes the request based on RPG1 and RPG2. if RPG 1 is called then 6 parameters will be received and the rest 7,8,9 should be initiated to Zeroes. If RPG 2 is called then all 9...

    juslikdat1440 pointsBadges:
  • Need to print PDF of length 198 generated by spool of same size

    Earlier length of printer file was 132.Now some more fields are added and hence I have increase size till 198. After program execution, spool is being generated fine, but when converting it to PDF, the extra fields are being cropped. How can I generate PDF till length at least to 160 length. What...

    fsddfsdfsd60 pointsBadges:
  • Debugging a RPG program

    Is there any way to store a variable value in file while the program is in debug? what i means is, I have a data structure of size 32766, while debugging the program ,the dippaly variable only display limited size of the data structure, but I want the total data of the variable......

    sivakesava240 pointsBadges:
  • RPG online course

    Kindly someone anyone suggest me for RPG, CL (AS400) Online course. Fees no problem but I need idea for good tutorial.

    123xxyz35 pointsBadges:
  • CALLB,CALLP,CALL

    1. When are dynamic calls(CALL) preferred to static calls(CALLB & CALLP)? 2. Performance wise which one is faster, CALLB or CALLP ? 3. I know CALLP checks the parameters during compile time and has an advantage over CALLB. But any scenarios where CALLB takes the advantage over CALLP ? 4....

    anuppdas105 pointsBadges:
  • CPF4169 error appeared during OPEN for screen file

    In reference to Ibmi ILE programming environment. I am in a screen program which is set to 132 length. There are multiple calls to other programs that are set to 80 length where there is not a problem getting the CPF4169 error. So now I have a new program to call and I am getting this error and I...

    sewell90 pointsBadges:
  • Want to find a string in CL source file(ABOUT 400 CL SOURCE ) and replace with other String.

    I Have a problem For replacing a particular Hard coded Libray name from my all CL source file(about 400) by some other hardcoded library name.For e.g There is a library name Used in many CL source file with ABCD(lib name).I want to change all occurances in each CL source file By DEFG.

    fsddfsdfsd60 pointsBadges:
  • Is there and efficient way to load Prtf fields with data from a PF?

    I want to load a Physical File with Printer File field names and Data. Then read through the PF and populate the printer file field variable with the data from another field in the file. Then I can write the PrtF record with the variable data from the file. For example PFfields: fLINE fCMD1 fRIGHT...

    JimboNbr215 pointsBadges:
  • ADDBKP – default program

    Hi, I'm trying to debug the batch job. After releasing the job, a display screen is shown the use debug commands. When I use ADDBKP STMT(1), an error is thrown as no default program exits. How to make my program as default program?

    LakNar270 pointsBadges:
  • IPI prompt type.

    What is the purpose of IPI prompt type in RPG? Can anybody explain me with examples?

    LakNar270 pointsBadges:
  • Operation not allowed in a job running multiple threads from SQL RPGLE

    Hi, I am running SQLRPGLE on V7R1. The program takes entries from file and emails. The program on high level does following steps..........: 1. Fetch Record from File, ............ 2. Convert Spool file to PDF and puts into IFS, into Root/Folder1, ......... 3. Copies PDF file from Root/Folder1 to...

    sim400305 pointsBadges:
  • Is there a way to tell how an RPG program was compiled

    We have come across some vendor supplied RPG programs that have been compiled with the FIXNBR option set to *INPUTPACKED. We would like to know if there is a way to display how a program was compiled and to see all of the options selected for it. Thanks.

    soooyeah25 pointsBadges:
  • How can I open file from another library in RPG program

    Hi, my requirement is how can I open a file from another library in RPG program … noted that I have tried to use keyword : EXTFILE(LIBRARY _Nam / FILE_Nam) but it doesn’t work. Please advise. Thanks! Tarek yaseen

    Senior1systemanalyst260 pointsBadges:
  • List of objects

    Hi.. I got to create a pf which will have list of objects present in all the user libraries availabe. When i use DSPOBJD, the server gets struck. DSPOBJD works fine when a specified library is specified. But in order to get all the objects, is there anyother options?

    Archnav01270 pointsBadges:
  • How to capture decimal value of numeric fld

    I need a way to capture the decimal value of a numeric field (i.e. 5.78). Need a way to be able to break the decimal value away to do computations on it. How do I achieve this using RPG III coding techniques?

    Tom196035 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