• Connect to Unix from iSeries

    I am trying to connect to EDW data mart on a Unix server from an SQLRPGLE pgm using the embedded SQL CONNECT TO code. I am getting SQLCOD = -000000113 when in debug and the connection fails. I have the code I can send in an email if you want? BCL2008

    BCL20085 pointsBadges:
  • Can the parameter’s name in parameter list same with the field name in physical file?

    Can the parameter's name in parameter list same with the field name in physical file?

    Cev105 pointsBadges:
  • Handle Position to With Load All Subfile?

    How to handle position to with load all subfiel? (I know this concept  with single pg subfile)

    Sms121185 pointsBadges:
  • Expanding subfile in OS/400

    HI, I am doing a small program on expanding subfile(page forward). ITs working fine till display. BUt if I press the page down till the last page its fine,after that too (last page is shown) if i press pagedown the last record is getting added again and again and so the subfile size is getting...

    ten20081,150 pointsBadges:
  • Loading multiple subfields in RPGLE

    hello sir, Actually i know the procedure how to load subfile  i have done this. But I want to load two subfile at a time in single screen , Just tell me the procedure which functionality i have to add in this problem ,,, Suppose I have two display record format then right now what i have to do for...

    Sms121185 pointsBadges:
  • 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...

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

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