• How can I determine the CCSID of a file in IFS?

    I have a bunch of files in IFS that have a wide variety of CCSIDs and I'm trying to create a simple RPGLE that will allow users to view all these files.Now our system CCSID is 655335 and our jobs have a default CCSID of 37 so when I try to display different CCSIDs, I see a bunch of garbage symbols...

    ITKE376,290 pointsBadges:
  • Tape library TS2900 not rotating

    Backup tapes are not rotating in library TS2900Also the 'unload tape' tab is checked

    pwopen12245 pointsBadges:
  • RPG: Is it possible to redefine an array in a file?

    I'm using RPG III and I need to store a big array in a file. It says the maximum fieldlength is 256 so I defined the file with 16 fields of 250 characters long for each. Can I put the 1000 values of an array into the 16 fields without moving? Just like REDEFINES in COBOL?Thanks for all the help!

    ITKE376,290 pointsBadges:

    Hi !I have two PF's named A and B, A is having EMPID,EMPNAM,EMPADDR,etc, here EMPID is the Key field.B is having STKID,STKYR,STKSR,EMPCOD,STKDET,etc, here STKID and STKYR are key fields but not unique, STKSR is unique for a STKID.Now i wanted to display the list of all EMPID and details(if EMPID,...

    Sureyz2,655 pointsBadges:
  • Like in SQLRPGLE

    Hi, I am using the below query in SQLRPGLE Select count(data) into :cntrec from sample where data like '%' "+:tpnumber+" '%'. I am getting an error "Token "+:tpnmber+" was not valid" . The tpnumber is a character field(10a). Sample file is a flat file I even tried '%' +:tpnumber+" '%' and '%'...

    Prashanth123255 pointsBadges:
  • QAUDJRN Remote Journaling

    Can I use remote journaling to make a central repository of the QAUDJRN journal receivers? Can I manage the journal receivers on the two systems separately? (I want to keep the central repository receivers for 1 year, but the original system for only a week) The manual & redbook don't address...

    bobgallion5 pointsBadges:
  • Data from RPG to Java isn’t properly ordered

    We're sending "foreign data" (from a different language) from a RPG program to a Java program but some of the data isn't coming in properly. The RPG program is currently running on an iSeries machine and Java is through a remote method invocation. The data is received by the Java program in logical...

    ITKE376,290 pointsBadges:
  • Communication lag through a firewall

    We're having problems with data connection between our internal network and an external system (outside our firewall). We are using AS/400 with ASP.NET. When requests go out, they propagate quickly on our internal system, but there is a significant lag - as long as 3 minutes - to the external...

    ITKE376,290 pointsBadges:
  • Difference between TFRBCHJOB & CHGJOBQ

    What's the difference between TFRBCHJOB & CHGJOBQ?

    Dinnu360 pointsBadges:
  • How to reduce % system used in AS/400

    % system ASP used . . : 90.6553 30/01/13 12:04:42 % CPU used . . . . . . . : 16.5 Auxiliary storage: % DB capability . . . . : 10.2 System ASP . . . . . . : 181.1 G Elapsed time . . . . . . : 00:06:20 % system ASP used . . : 90.6553 Jobs in system . . . . . : 51075 Total . . . . . . . . : 224.1 G %...

    Mohammedfawzy50 pointsBadges:
  • Regarding user profile disabled

    I enter with correct password on first time it will disabled. Why? Refer my USRPRF parameter: User profile . . . . . . . . . . . . . . . : 14:47:46 Password verifications not valid . . . . . : 1 Status . . . . . . . . . . . . . . . . . . : *DISABLED Date password last changed . . . . . . . . :...

    07091988ramya60 pointsBadges:
  • To send the list of expired tapes in mail

    I want to send list of expired tapes and count that are assigned to system and present in ATL in an email (SNDDST). Please some one help to finish this task.

    Dinnu360 pointsBadges:
  • AS/400 – time limited user account

    Is it possible to create (or change existing) user account - active in limited time? We have to create accounts for users working for example 2 months

    chypcik15 pointsBadges:
  • Select Query in iSeries is running very slow

    I'm writing a query to pull different sets of data from a single table.  I tried the following SELECT query using Data Transfer in iSeries: SELECT INFOR.PFAC , INFOR.PPAR FROM MAINSYSTEM.INFOR INFOR WHERE ppar = '240XXX2A' It takes upwards of 4 minutes for the query to return the data I need. Here...

    ITKE376,290 pointsBadges:
  • Keep getting “Name or Indicator is not defined” error message

    A good friend of mine has been recently taking introductory courses on IBM iSeries and Rational Developer. And he's having trouble with one of the code problems in his class. When he's compiling a program "MARKSRPG.RPGLE, he keeps getting the error: "The Name Or Indicator Is Not Defined", His...

    ITKE376,290 pointsBadges:
  • MCH1202 error reply

    What would be wrong with replying to this decimal data error with a "G", as many times as it takes to get passed it?

    Pgmr46105 pointsBadges:
  • AS/400 query select count distinct

    Hello, does someone knows how I can count distinct values on a column via query select? (same as count distinct via SQL)

    WOES9995 pointsBadges:
  • Was your RPG to Java migration successful?

    Basically our company uses IBM iSeries for the majority of our data processing. Almost 99% of our internal applications are written in RPG. We realize IBM is trying to push companies towards Java/J2EE / we're trying to modernize our apps with a GUI interface. Not to beat around the bush but our...

    ITKE376,290 pointsBadges:
  • I can’t figure out how to organize RPGLE subversion repository

    My company has a ton of RPGLE-sources for their in-house application but they want to adopt a more modern style of coding. Basically, I'm "modernizing" the whole coding process and the open source subversion of OS/400 is working great but there are two issues during installation. Here's the code:...

    ITKE376,290 pointsBadges:
  • AS/400 iSeries code exceptions

    I'm trying to connect to a AS/400 server using the .net classes.  Also, I'm running a 64 bit version of Windows 7. The reference is to IBM.Data.DB.iSeries using the following code: var conn = new iDB2Connection("DataSource=;UserID=xxx;Password=xxx; DataCompression=True;");...

    ITKE376,290 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.