• File with varying record length in AS/400 RPGLE

    Can a file having varying record length be used in the same rpgle program? If so let me know on how to implement it.

    Sportyn5 pointsBadges:
  • Converting from RPGLE to DB2/400 SQL

    My shop just announced that it intends to convert from RPGLE on the ISeries 400 platform, to SQL, such that the procedures will be portable to other hardware platforms. What documentation to I need to acquire to train on writing SQL procedures; initially within DB2/400?

    SeaRancher5 pointsBadges:
  • Activation Groups, RPGLE, and Open Files

    Hello Everyone, We have a couple question regarding activation groups, RPGLE, and Open files. In our H specs for RPGLE and SQLRPGLE programs, some of our programs use dftactgrp(*yes), some use dftactgrp(*no), and some use dftactgrp(*no) actgrp(*caller). What are the differences? And, should all of...

    Dcantwell470 pointsBadges:
  • Dataarea as a variable

    Is it possible to address a dataarea by name from a variable field ? The idea is to keep last used report-no by dept/company in dataareas - one for each dept/company. Multiple dataareas (all *dec 7 0) are needed as report-pgm can print for several different departments/companies.  Dept-id shall...

    DanTheDane2,555 pointsBadges:
  • unlock multimember file

    I have an unusual problem with an RPGLE program. This is called inside of other programs that were originally a package software. The file is multi-membered and I am not able to remove locks on the member even when I exit the program, use other programs, etc. I am on an iSeries and commitment...

    VGP300 pointsBadges:
  • Using the command RCVMSG

    There are numerous reports which automatically print throughout the day. Often there may be a message waiting on the printer and because no one was expecting any reports, no one discovers the problem until hours later. (By this time there may be quite a few reports waiting to print) I was...

    GHENDER190 pointsBadges:
  • RPGLE /free syntax question

    I am modifing some code I found, and trying to add multiple 'or' statement. I have tried several different way to get the code to compile, but I always get errors. Can someone please tell me the proper syntax for the following statement below?? if Jobbstatus = 'MSGW' and SubShort = 'QBATCH' or +  ...

    Snegron105 pointsBadges:
  • BUILTIN FUNCTION..

    HOW CAN WE CHECK THE EXISTANCE OF ANY RECORD IN ANY PF WITHOUT READING THE FILE IN RPGILE . . IS THERE ANY BUILT IN FUNCTION  THANKS/

    Ambrish 82310 pointsBadges:
  • ILE RPGLE

    I HAVE EXTERNALY DISCRIBE PRINTER FILE. I WANT TO WRITE 30 RECORDS IN ONE PAGE. I USED OFLIND KEY WORLD BUT PAGE BREAK NOT WORK. TWO HEADINGS ARE WRITE IN ONE PAGE PLEASE GIVE ANY ANSWER   BEST REGARDS, NADEE.

    NADEE12320 pointsBadges:
  • MQ depth through CLLE Or RPGLE programs.

    I am trying to search is there a way to know the MQ depth in RPGLE or CLLE programs using some set of MQ API's or MQ command. It will be a great help for me if some one suggest a way out.

    Samar5 pointsBadges:
  • Running the QSPOLJBQ API

    I am calling this API that is an RPG program. When I run the program in debug mode it runs fine and displays all my jobques on the screen. When I enddbg, the program only goes through the code 1 time. Would anyone know why this is happening?

    ISERIESTECH135 pointsBadges:
  • Upper Case Identification

    I m accepting a string from user in RPGLE,is there any way to know that the string enter by user is in Upper or Lower Case??? Please Help.... Thanks in Advance

    Vishal2370 pointsBadges:
  • Call RPGLE Program from RPG Program

    I have an RPG program. In that program I want to CALL a RPGLE program and pass parameters to it. What I need to know is there some parameter in the compile that I need to do to do this? I get errors when I try to compile the RPG normally.

    SoccerDave5 pointsBadges:
  • embedding sql to rpgle

    couldd someone pls help me wid generating week number of a year in rpgle. i guess its done thru embedding sql into rpgle pls help

    Atti123135 pointsBadges:
  • retrieve deleted RPGLE source file

    Can smone pls tell is it possible to retrieve source of a rpgle program and if atll possible hw is it possible

    Atti123135 pointsBadges:
  • Unable to use delete statement How can I delete multiple duplicates in a PF leaving only one in SQLRPG

    Background... I use OCL and SQLRPG. I am having an issue after I have built a file of records from my Select. This file contains duplicates that I need to remove. I have a EXEC SQL DELETE clause in the RPG after my "DO" loop ends. The command does nothing, however, when I drop the command into a...

    Kingcarrera5 pointsBadges:
  • reading a output queue

    i want to read a output queue which contains spool files .so how could i read it through a rpgle program .actually i want to read a output queue and get the list of distinct spool files and also want the count of  spool files with the same name.

    munduuu420 pointsBadges:
  • Does QCMD write to job log when called from RPG

    If I have an RPGLE program that executes a CL command using a CALLP to to QCMD, will that CL command be written to the job log.  The LOGCLPGM paramaeter is set to *YES, if that matters.

    ElTerrifico620 pointsBadges:
  • RPQSQL / SQLRPG

    Any body please help Wanted to know the advantage and disadvantage using RPGSQL / SQLRPG I've heard that this is the new one its not only RPG but become one with SQL. Thanks in advance

    TG50 pointsBadges:
  • Calling non-as/400 programs via an RPGLE or CL program

    Can it be done? If so, how would I go about doing this? Let's say I just have a small VB program I wrote that displays a picture. Can I let's say somehow link the VB program call to a CF key, like CF08?

    Eric Witham690 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