• 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?

    csuoaananth90 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:
  • 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:
  • 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,655 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:
  • Create XML with RPGLE PGM

    How do I create an XML in RPGLE PGM?

    angelafrye30 pointsBadges:
  • AS/400: Merge same physical file from two different libraries

    I have two libraries with same physical files. Now I want to merge both the physical files data in a single physical file in third library with unique records. My problem is the physical file doesn't have key fields. Solution can be in SQLRPGLE or RPGLE. Thanks in advance.

    97834441841,420 pointsBadges:
  • QHSMMOVL API in a CLLE program

    I am trying to use QHSMMOVL API in a CLLE program to move libraries between ASP's (1-32) and iASPS(33-256). I keep getting the error CPFB79E -  Auxiliary storage pool does not exist or CPF3C3C Value for parameter not valid. I think it has something to do with the Target auxiliary storage pool...

    Jpjawili75 pointsBadges:
  • Changing variable value in calling RPGLE program

    How do I go about changing a variable value in calling a RPGLE program?

    KeithN25 pointsBadges:
  • EXTMBR keyword in RPGLE

    Can I use multiple members in EXRMBR keyword in RPGLE? I know we can use one member name in EXTMBR but my question is can we place multiple members name in that apart from *ALL. Can someone please help me here? My requirement is to read 4,6,8 member from my 10 member PF. I know we can create...

    hndajad195 pointsBadges:
  • Calling RPGLE program from command line with parameters

    How do I pass numeric data to CL program from AS/400 command line?

    harish1990110 pointsBadges:
  • RPG /Free Local Data Area definitions

    I am trying to define the LDA with an external definition in RPG /free. Any help?

    Rstinsonindy15 pointsBadges:
  • What is the purpose of /DEFINE before H-spec?

    /DEFINE is a part of compiler directives, which if used will reduce source listings of the program. But I would like to know what happens in runtime if I use this directive. for eg: If I use /DEFINE in pgm : /DEFINE MOD_1..then in I write /If Defined(Mod_2) read FileA; /Else read FileB; /endIf

    Supriyoas400225 pointsBadges:
  • How to use OVRDBF via ‘QCMDEXC’ for Creating Override Database File in RPGLE?

    Hi All, I am trying to do Prompt option for my disply file. So that I created *OUTFILE (PPROMPT) using DSPFFD. Then I declared Program-Described File (TPPROMPT) with USROPN. Then while trying to Create Override Database File (OVRDBF) using CALL 'QCMDEXC' PLIST1, It couldn't create that. When try to...

    smmloganathan50 pointsBadges:
  • How to pass parameter From RPGLE to CLLE?

    Hi All. I'm very new to AS/400. How do I pass parameter From RPGLE to CLLE, And also how do I retrieve parameter from CLLE to RPGLE in the same program? For that what are the declaration we need in both programs. I tried simple program but is shows the error like "Pointer or parameter error"(error...

    smmloganathan50 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