• ARABIC data inserting using RPGLE

    I need to enter Arabic Data on AS/400 Using RPGLE having QCCSID value 65535, QCHRID=697 Code Page=37 and QLANGID=ENU and OS/400 Release V5R4M0, Do anyone can help in inserting data on PF database in arabic using RPGLE?

    AnwarHabib5 pointsBadges:
  • Error in calling RPGLE program from CL

    I have a job running under subsystem. This job is using a CL program which inturn calling RPGLE program. The CL program is failing in call statement to RPGLE with following error message in jobog: Pointer not set for location referenced. Pointer not set for location referenced. Pointer not set for...

    Mayurp5 pointsBadges:
  • Update and write sample RPGLE program

    Hi all, I have two physical files pf1 and pf2 with three field student_id,name,marks. I want to Move the records from PF1 to PF2. If the Student_ID already exists in PF2 just update the record else write a new record in PF2.where student_id is key field in both physical file. Could anyone provide a...

    nabamita75 pointsBadges:
  • RPG large number

    Yes I'll research this on my own, it seems like it'd be an interesting topic. What is the largest numeric size usable in RPG? I'm after the high-end, not the decimals. TMI: I have a calc that blows up when the result is too large for the target field. I know I can calc to a 15.6 numeric, but hoping...

    aceofdelts2,330 pointsBadges:
  • Call by value/Reference

    Hi,Please explain with the example of call by value and call by reference in RPGLE.Thanks

    as400dev585 pointsBadges:
  • RPGLE calculation of date

    I had a requirement to calculate a due date based on given date + n number of days. The due date should exclude Saturday and Sunday comes in between the range. Is there any way to achieve this? For eg.  if 15 days add to 6 May, 2016, then the due date should be 27 May, 2016.

    Babs312275 pointsBadges:
  • Reading members of a physical file

    Hi, Can somebody please help by providing the program code for reading all the members of a file using RPG or RPGLE program? Suppose a file has 3 members then how to read the records of all the 3 members in a file? Thanks!

    6r1,715 pointsBadges:
  • Like Input records in COBOL

    How can I make all RPGLE input record fields have values not just the ones I ref?

    PhilPhillips5 pointsBadges:
  • CONCATENATING in DDS

    Can you concatenate 2 fields in DDS which were created using the substring command?

    GHENDER215 pointsBadges:
  • Move record into database file via data structure

    How do I move a record into a database file via data structure?

    suryathiru5 pointsBadges:
  • Name string alignment in AS/400 printer file

    I have a customer name field of 240 length. There are four fields defined with 60 length in AS/400 printer file. I wanted to print the name in the printer file with character alignment(like not leaving a single letter in the end of the field). Is there any procedure/steps you can suggest me to do...

    Sureyz2,720 pointsBadges:
  • Convert a UTC time to GMT or BST

    How do I convert a UTC time to a UK time (GMT or BST) on the AS/400 using RPGLE? The time may be in the past.

    thompsa5 pointsBadges:
  • RPGLE: Find the total cost for particular location

    Actually, now I'm doing a program in RPGLE and I have a file with 3 key fields so it is a list but the first key field is date, second one is company name that is 'CON' and third one is location. So their is a cost field also so I want the total for those same locations but data is ordered by date....

    Meghaa5 pointsBadges:
  • How to add one Module to the existing Service Program

    Hi, I want to add or append one new module called 'C' to the already existing service program (SRVPGM) For Example: I have one service program called SRVPGM consits of 2 Modules are A, B. Now I want to add one new Module called 'C' to SRVPGM. How can I do this?

    Mohan K695 pointsBadges:
  • CPF5032 member already locked to this job

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

    GHENDER215 pointsBadges:
  • Record Lock while debugging of RPGLE

    How to identify which one of file and record is being locked by the program while in the debugging of RPGLE?

    csuoaananth100 pointsBadges:
  • Calling Store Procedure failing from ISeries

    All on an iSeries. I have written a RPGLE program that requires 7 parameters, The 6th is output the other 6 are input. I then create a Store procedure from this RPGLE program. Then using STRSQL I run a call to this store procedure, but I get the error: SQL0469 Message . . . . : IN, OUT, or INOUT...

    whataboutthatguy5 pointsBadges:
  • Write messages from RPGLE program to job spool file

    Hello All, I have to perform a task. I have to write messages from RPGLE program to the job spool file of the same program. I am using QMHSNDPM api to send message to the same call stack message queue. The messages are getting written in joblog but not in spool file generated for job. I am not...

    mohit123210 pointsBadges:
  • Using two same files from different libraries in a RPGLE program.

    Hi All, Please guide me for the following problem. I got stuck into it. I want to operate same file from two different libraries in a RPGLE program. Remember we are taking the file names at runtime. So we don?t know the structure of files. Like the record format name etc. Again somehow I retrieve...

    navinnegi45 pointsBadges:
  • SQL fetch returns no data

    My SQL select statement returns data, but an almost identical fetch does not, although the SQL code is 0, sqlstt is '0000', and sqlwarn is all blanks. What am I doing wrong? dcl-ds prtsplds; outnam char(10); libnam char(10); nofils char( 5); writer char(10); status char( 3); end-ds; exec sql...

    cslackman5 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