• 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:
  • 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,305 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:
  • Find if a spool file exists

    Using RPG, how to find if a spool file exists. I would like to pass spool file name and job details as parameters to RPG program.

    RajKamal0 pointsBadges:
  • How to setup a reminder in RPG ILE?

    Hi all! I have a Physical file lets say MYPF01. In that I have a filed for Expiry Date (*ISO format). There are many records on the Physical file. If suppose i want to setup a reminder program (in RPGLE) to check that physical file everyday and if that date is expired (comparing current date) to...

    Sureyz2,720 pointsBadges:
  • SQL Connect to remote system, run retrieved data on local system problem

    I need some help with the syntax required to build the SQL commands (embedded into an RPGLE program) that will do the following: Connect to a remote system (using a userID & password passed into the program as parameters). Dynamically build ALTER commands based on data SELECTed from a table on...

    mikechance8126325 pointsBadges:
  • Consuming .NET webservice from AS/400 using RPGLE example

    I am trying to connect to a .NET webservice via AS/400 using RPGLE and am getting the 400 Bad Request error yet the XML is correct if I run it thru SOAPUI.  I can't find the problem. Does anyone have an example of code that works correctly or can tell me what I'm missing on the AS/400 side?

    angelafrye30 pointsBadges:
  • Call a stored procedure on a SQL Server from my RPGLE source using JDBCR4 service program.

    Something is going wrong while setting up the connection environment (ZBCCNNPF). Can someone explain me which parameters have to be set in which way to make this process work? Kind regards, Ton Konings.

    TonKonings196215 pointsBadges:
  • Invoking web service using XML in RPGLE PGM

    I'm receiving error 415 - unexpected content type error - I have double checked the SOAP and all appears correct - is there a statement I need to add for content type to the XML? How can I tell what is causing this error? SOAP XML from PGM.SOAP = '' + 'http://www.w3.org/2003/05/soap-envelope" '+...

    angelafrye30 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