• 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:
  • Single Page Subfile

    Hi.. I need to create a window subfile in RPGLE, and the subfile field values should be taken from the array which is defined in program itself. Can anybody give me the sample code for this? Surey

    Sureyz2,380 pointsBadges:
  • CALLB error!

    Hi all, When I compiled a RPGLE member, I'm getting  this error : "CALLB cannot be used when DFTACTGRP (*YES) is specified for CRTBNDPGM or as a compile option keyword."  Can any one please explain me why this happens and how to handle this? Thanks!

    Sai4AS4001,420 pointsBadges:
  • CPF4326

    Hi all, I am reading data from a file PF1 using LF1 sequentially, and writing to other file PF2 using using LF2 using RPG Program R1. When I run it using CALL R1, it's working absolutely fine. But when use SBMJOB to submit it as batch job, it is going to MSGW. the error is: " CPF4326 occurred for...

    Sai4AS4001,420 pointsBadges:
  • Locked Records

    Is there an easy way to trap a Record Lock in RPGLE

    Doc135 pointsBadges:
  • RPGLE Record Lock Data

    I have a program that get a Record Lock. I have captured the *status, however, I need the Program & User that initially read the record first.

    Doc135 pointsBadges:
  • Convert C Prototypes to RPG

    I need to interface our payroll progam to Vertex Q Series payroll tax software. Vertex is written in C and our payroll programs are in RPGLE. Does anyone know what the RPG prototype to this function would be? PREFIX tVprtConn POSTFIX VprtOpenPRT (char *pDataSource, char *pServerName, char *pUserID,...

    moolar20 pointsBadges:
  • Read Only File defined in Update/Add mode

    The environment in which I am working is not having the authority to add a library in *USE authority. File ABLCDEF1 is in a Library with *USE authority. In RPGILE if I declare a file like below: FABLCDEF1IF E K DISK And then have an update statement. Will the program fail in file declaration it...

    123qazwsx09810 pointsBadges:
  • FTP in AS/400

    I want to FTP some date from a PF in one system to another AS/400 box, Is there an API which can help me out?

    PRIYAS40 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