• Call by value/Reference

    Hi,Please explain with the example of call by value and call by reference in RPGLE.Thanks

    as400dev480 pointsBadges:
  • Using RPGLE to create data structure definitions

    I'm looking to build a data structure. Let's use the following for an example d Cat           DS                  qualified d   name                        20 d   breed                       20 d  ...

    ITKE342,195 pointsBadges:
  • Replace ” with ” in AS/400 string

    Hi i have a string and want to replace all occurance of " with ".Please let me know how can i accomplish this .

    munduuu420 pointsBadges:
  • Service Program, Activation Group

    Hi Everybody, Could anyone from this group help in understanding the Importance of....Service Program, Binding Directory and Activation Group's with ssome practical Example. Thanks, Rama Krishna

    mvrkrishna530 pointsBadges:
  • INLR, RPGLE

    Why do we specify *inlr at the end of program only. What difference would it make if we specify it in beginning?

    Durgesh813370 pointsBadges:
  • RPGLE, PROCEDURES

    I want to learn about procedures in RPGLE. I asked some senior of mine about procedures, he answered that for understanding I need to learn modules and all in ILE...kindly guide me what all I need to know before going for procedures, main procedures and sub-procedures. Thanks Durgesh Singh

    Durgesh813370 pointsBadges:
  • Query on Subfile

    Have Display File - Subfile with Few Numeric Fields. SUBSIZ = 45, SUBPAG = 10. In RPGLE, Getting to Value from another Data Queue, Writing in to the Subfile if Record if there and incrementing the RRN and Line Number. Writing in to Subfile even there is no record in Data Queue. Here incrementing...

    rajeshece1,215 pointsBadges:
  • How to use column values in a array

    Hi, I have a file has some column as abc1,abc2,abc3,abc4.....abc40 Now I want to use this column values in a 2 length array with 40 element. Is it possible to achieve this? Thanks

    97834441841,355 pointsBadges:
  • Run time array

    fzscl01    if   e           k disk d gvk             s              2    DIM(40) d wsname1         S             10 D SDS            SDS D  USER                 254    263 /FREE wsname1= USER; DSPLY...

    421380 pointsBadges:
  • Date validation RPGLE

    Hi, I try to validate the date field but the Indicator sets on for both valid and invalid. Please advice. D datevalid S 8A inz('20131225') D dateINVAlid S 8A inz('99999999') * /free test(DE) *ymd0 datevalid; if %error() ; dsply 'Error!' ; endif ; /end-free * C *YMD TEST(D) datevalid 44 C N44'valid'...

    as400dev480 pointsBadges:
  • Calling RPGLE Procedure returning 10 length char value from Java

    Hi, I need to call a RPGLE procedure which is in a NOMAIN module and returning a 10 char. Example of the procedure I need to call is as follows: PRtvChgDesc       B                   Export dRtvChgDesc       PI            10 d  P_Name         ...

    ROYB95 pointsBadges:
  • Update Data SQL Server From AS400

    Hi, some help me. I want to write data to SQL Server from AS400 in RPGLE. Some have code for make this. Thanks for advance.

    JLH5 pointsBadges:
  • SQL Syntax issue via Free-Form RPGLE

    I'm having difficulty with a select statement.  As below, it works .  If I remove the '//' comment-out tags, it doesn't, so obviously there's an issue with those statements.  I'm trying to populate an output 3-char field with either Yes, No, or N/A.  The Y/N comes from the contents of a field...

    Eric Witham690 pointsBadges:
  • Delete duplicate members from a physical file using RPGLE

    Hi, could someone please help me with the code to delete duplicate records from a physical file. Please post with the full code.

    AS400dot5 pointsBadges:
  • AS/400 RPGLE

    0001.00 DBXLATER1 pr 50 0002.00 Dinpstr 50a 0003.00 PBXLATER1 b 0004.00 DBXLATER1 pi 50 0005.00 Dinpstr 50a 0006.00 Doutstr s 50a 0007.00 Dwork s 1a 0008.00 Dpos s 3s 0 inz(0) 0009.00 Di s 3s 0 inz(0) 0010.00 Dlower c 'abcdefghijklmnopqrstuvwxyz' 0011.00 Dupper c 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'...

    JSDHFKJHA335 pointsBadges:
  • TAP01 Failed.

    While running a backup job on the AS400, the job was ended. Now the status of TAP01 is FAILED. Apparently, the device is still active? Any ideas? When I try to vary it off, I get this:Device TAP01 not varied off. Error occurred.Message ID . . . . . . : CPD2643 Severity . . . . . . . : 40 Message...

    Ddiamondd15 pointsBadges:
  • RPGLE Subfile Validation

    Hi Everybody, I am new to RPGLE and I hope you can help me with my problem. I have used a subfile for loading details in my program. Now it is expanded subfile (page down on the next page) cause there is a lot of transactions displayed. My problem is that I have entered a selection on the first...

    calvin0105905 pointsBadges:
  • AS/400 RPGLE

    0001.00 Fbsamplepf o a e disk 0002.00 Dcusdata ds qualified 0003.00 Din likerec(rcdfmt:*input) 0004.00 Dout likerec(rcdfmt:*output) 0005.00 D overlay(in) 0006.00 /free 0007.00 read rcdfmt cusdata.in; 0008.00 dow not%eof; 0009.00 dsply cusdata.in.sno; 0010.00 dsply cusdata.in.sname; 0011.00 read...

    JSDHFKJHA335 pointsBadges:
  • AS/400 RPGLE keywords

    Hi, Could anyone let me know what is the difference between the keywords EXTNAME,LIKEREC,LIKEDS which are used with the data structures. If possible with an example, I referred so many links, but didn't get the right answer. Thanks in advance.

    JSDHFKJHA335 pointsBadges:
  • Lines of code in c-spec

    How can I count the number of lines of code in c-spec with eliminating d and f-spec?

    rpgle45 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