• RPGLE subfile programs

    Does anyone know if it is possible to do a roll down, or Page Up, when the operator presses the ENTER key? My subfile program will Page Up & Page Down when pressing the Page Up/Page Down Key. But, when pressing the ENTER key, I would like the program to do a Page Up as well? Is this even...

    Piano520 pointsBadges:
  • Will level check error occur or not?

    Hi all, Please tell me How can we prevent level check error before occurring dump? Suppose we have have a PGM 'a' and a file 'pf1'. I just want to be assure that level check error will occur or not. Regards

    Ambrish 82310 pointsBadges:
  • Declare INFDS in RPGLE

    I declare INFDS in my program for a display file and use it to detect what key is pressed DChkfil DS D key_pres 369 369 This was working earlier and suddenly now I see in debug that the key_press variable is not working as earlier...... the variable shows one highlighted portion when i press F11 on...

    Nutangujar895 pointsBadges:
  • RPGLE: File value

    I have a file value which is of length 15 with 2 decimal places. This value has to be assigned to an output file field whose length is 13 (eg:10.2). Can this be assigned in RPGLE. The field from input file is a numeric field

    barronadmin0 pointsBadges:
  • RPGLE: Existing library list

    How to get existing library list for particular job description?

    421380 pointsBadges:
  • DDS: Entering value in numeric field

    Is there any way (field attribute, key word, etc.) to keep the beloved end user from not using the field exit key when entering a value in a numeric field? We have users who will continually use the tab key or just hit enter when entering a 1 (for example) in a field, thereby creating a value of...

    As400coder5 pointsBadges:
  • Pointer not set for location referenced in service PGM

    I have a service PGM with 2 modules that are similar in functionality. One works and the other gives me the error in the title. Both load array data structures that are define using likeds. The problem I'm having is when I try and load the first array element. When I dump the PGM, it looks like my...

    Ilepro5 pointsBadges:
  • Difference between EXTPGM and EXTPROC

    Could someone please let me know what is the difference between EXTPGM and EXTPROC? In which scenario EXTPGM is used and in which scenario EXTPROC is used? What are the limitations of EXTPGM over EXTPROC? If possible could you please let me know the difference with a sample program as an example....

    JSDHFKJHA335 pointsBadges:
  • Decimal data error in RPG

    I declare time field in RPG as D btime    4  0 eval btime = 2400 this one I pass to a CL program with var type var(&tim) type(*dec) len(4,0) and this in turn passed to another RPG program D stime    4  0 When it comes to third program it has some hex char shown in debug as belo stime =...

    Nutangujar895 pointsBadges:
  • Record Locking in RPGLE

    I'm using embedded SQL to delete (clear) all records in a file. I do not want more than 1 person in this file. So when the user executes the program it runs the SQL and clears the records in the file. Now I want to do some file/record checking logic to see if the file is locked to another job. Then...

    RonKoontz1,780 pointsBadges:
  • QCMDEXC error

    Hi, I have built a small application using CL to convert date to required format. When I want to accomplish the same from RPGLE program with a display file to input date I wanted to call CVTDAT command from the RPG program. But I am getting error saying this command can't be issued in this set...is...

    ten20081,150 pointsBadges:
  • Command to display description of error message

    Hi, I want to know the command to display the description of error messages. Please clear my doubt.

    Babs30 pointsBadges:
  • My operating system was upgraded from V5R3 to V5R4

    my operating system was just upgraded from V5R3 to V5R4. All my cobol programs are compiled with *none commitment control and a target release of V5R3M0. However after upgrading the operating system while executing the programs -913 errors are being encountered. The same programs are getting...

    Priyaranjanltcp0 pointsBadges:
  • DATAAREA

    I have a variable that contains the name of a data area How can I access the data area? Without using CL

    aldo40020 pointsBadges:
  • Trigger removed

    How to know if some one had removed the trigger from the file? We have a situation like this so how to know who did that? Shall we get the data from journaling?

    Anu143525 pointsBadges:
  • Trigger

    Guys, we got a problem here...our file is associated with Insert and delete trigger. So will an SQL delete query execution trigger the job attached?

    Anu143525 pointsBadges:
  • About service program

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

    JSDHFKJHA335 pointsBadges:
  • V7R1 RPGLE variable @JOBDATE1 losing value after a CALL statement

    D @JobDate1 S D C EVAL @JobDate1 = %DATE(*DATE) ... 024800000000 C call(e) 'CNRWW832CT' 024900000000 C parm @@DIV @DIV 025000000000 C parm '*SEL' @MOD 025100000000 C parm @C1CODE 025200000000 C if @C1CODE ' ' 025300000000 C eval #C1CODE = @C1CODE 025400000000 C endif 025500000000 On 4/13/2013 we...

    MaryKyrrynMathias70 pointsBadges:
  • Trailing the blanks which come in the middle of a string

    Could anyone please let me know how I can trail the blanks that come in the middle of a string? For example, a field contains a name like 'hello hai' I want to trim the blank which came in the middle of hello and hai. Please help me with a piece of sample code.

    JSDHFKJHA335 pointsBadges:
  • Problem while using SSCANF funtion in RPGLE!

    Hi, I am trying to check whether a string is numeric or not so for that I'm using SSCANF but every time its giving me return a 0 . Not sure what I'm doing wrong! Below is my code: I am always getting i=0 ideally it should be 1234 ... Please suggest!

    munduuu435 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