• SFL

    I have a SFL. In which I have a option selection field. I have used reverse image indicator for it. But when I insert a wrong value in that field, then the entire column is highlighted instead of the option selection field for that particular record. What should I do?

    jainamit380 pointsBadges:
  • Indicators in RPG

    HI, I am a cobol400 developer and new to RPG and curious to know much about RPG... My question here is In what scenarios we use the below indicators 1.Overflow indicator 2.Record Identifying indicator 3.Control level indicator 4.Field level indicator 5.Resulting indicator Thanks in adv Anup

    anuppdas105 pointsBadges:
  • 24 digit number: Arithmetic operations?

    Hi, I need to work with numbers which are digits long. Why? Because this is the way to create a German IBAN code from Bank Code and Bank account: Concatenate Bank Code (8 digits) plus Account nbr (10 digits, leading zeroes) plus "131400" to a 24 digit number. Compute Modulo 97 of this number. (or...

    gast95185 pointsBadges:
  • RPG – Roll your own level breaks

    Has anyone every heard of 'Roll your own Level Breaks' in RPG? Can you enlighten me on how it works? I have to mimic a program that does this already with a different set of data. Here is a basic overview of the application. A selection screen allows you to select a date range, region, territory,...

    NickHutcheson11,380 pointsBadges:
  • Add a new field in PF

    Is it possible to add a new field in an existing PF without deleting the records that are present in it?

    jainamit380 pointsBadges:
  • Adding values to second member of PF

    Suppose I have a PF named 'Member' and I have added a new member 'Mbr1' to this pf. How can I add values to the second member(Mbr1)?

    jainamit380 pointsBadges:
  • RPG / free command to movel 6 digit field to 8 character field

    I am using RPG /free -- I need to move a 6 digit numeric field to 8 character field and it needs to be left justified. How can I do this?

    Manyquestions65 pointsBadges:
  • Using 2 different display sizes in a display file

    I am trying to create a display file in which the subfile uses display size 27 132 and a window uses the display size of 24 80. I thought I could declare them both in the dspsiz as DSPSIZ(27 132 *DS4 - 24 80 *DS3) and use dspmod(*ds4) after the SFLPAG command and DSPMOD(*ds3) on the window display....

    GHENDER190 pointsBadges:
  • How to easily perform date conversions in RPGLE (Including Substringing!)

    Over the years I have had to modify my fair share of outdated code, especially when it comes to Date Conversions. Not every system uses an 8 position numeric date field. The place I'm currently at still has a number of files with a 6 position numeric date field. I was wondering if anyone else had...

    Eric Witham690 pointsBadges:
  • How to display total of all the records that contain the same primary key in RPG4?

    How to display total of all the records that contain the same primary key in RPG4? e.g...                                                             Transaction number :4458 product no:      name        QTYonHand      quantity on order              ...

    Keo55 pointsBadges:
  • 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?

    sivakesava255 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,505 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......

    sivakesava255 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:

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