• Advanced Trigger question for *insert *before to allow update of field value

    I need to update a field in a record being written prior to it being written. I want to do it with a trigger because many programs write and update this file. I have tried several things and the closest I have gotten is to do a *before *insert where I can see the values of the fields in the after...

    Dcdc5 pointsBadges:
  • Is there a way to automate the ‘Receive Files from Host’ command’?

    I need to automatically run the Receive Files from Host command after business hours. Is there a CLP command to accomplish this with an example? Thanks, LWK

    Lwk25 pointsBadges:
  • RPGLE arrays

    Please provide me the solution or at least a hint to this problem. Lets Suppose I have an array having 4 elements ( A, B, C, D). I would like to have all the possible combination of the 4 elements with no repetition (i.e. in mathematical terms 4C1 + 4C2 + 4C3 + 4C4 = 15). How can we do this in...

    BrentSheets6,925 pointsBadges:
  • CPYTOIMPF ‘To File’ problem

    The following command: ===> CPYTOIMPF FROMFILE(LTCLIB/WPELG01P) TOFILE(LTCLIB/WPELGCSV) MBROPT(*REPLACE) STRDLM(*NONE) produces error To-file WPELGCSV in LTCLIB not allowed. The explanation says the To file must be an externally defined PF, which it is. I need to remove the double quote marks...

    Lwk25 pointsBadges:
  • Copy Books IN RPGLE

    How the Source statements of COPY book can be viewed while Debugging a source.

    C.naveen09140 pointsBadges:
  • Accessing files outside netserver’s domain with /qntc??

    I am using the /qntc file system to access files (from rpgle) that are within the same domain (bdomain) as the iseries netserver. does anyone know of a way to access files in another domain (tdomain) using /qntc? the files i want to access are in one of our other facilities, and are visible across...

    RickMe110 pointsBadges:
  • How To get The Cursor position on particular field?

    My display File Contains three Fields as like name= ........  Roll =........  Marks=.......  But In that Case when Program Call, First Cursor Pos On name When Name Will Enter Roll No will Automaticalyy Disply. But I have To Modify Marks Field,,, So When I will Enter Name After That I want To...

    Sms121185 pointsBadges:
  • RPG communicate with USB device?

    Can an RPG program running in a 5250 session on a pc communicate with a USB device on that pc? I've used sockets to communicate with devices on the network, but never with a device without an IP address. thanks, rick metzger

    RickMe110 pointsBadges:
  • Load Two Subfiles In a single screen

    Ok sir i will ask my question in detail.. There are two pf in my lib [strong]ramlib[/strong] 1)pf1 2)pf2 ,both Contais name and id with same name , i want to display these two files on single screnn with load all subfile so can u describe this answer? plz mention small code here...    

    Sms121185 pointsBadges:
  • I’M UNABLE TO COMPILE RPGLE SOURCE

    Hi All, In my application there is program in ILE source, code like bellow, I/COPY CMQGMOG                               ** note, sample uses defaults where it can  *                                           * misc fields...

    VENKYAS40075 pointsBadges:
  • How to use the DDM File in RPGLE Programs?

    I have created one DDM File in Server1 Based on Server2 File. I wrote one program to read the DDM File in Server1. I am getting RNF2120 (File Not found) While Compiling the Program. How to USe the DDM File in RPGLE Programs?

    rajeshece1,215 pointsBadges:
  • 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:
  • 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...

    GHENDER215 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:

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.

Thanks! We'll email you when relevant content is added and updated.

Following