• Determine TCP port used by a connection.

    We have an application that has our iSeries (AS/400) connect to a remote IP address and port. If we have to end the application and restart it (IPL, error, end/start subsystem) the iSeries keeps the connection open. After the application is restarted, the TCP connections show two connections to the...

    LHrabar95 pointsBadges:
  • How to get IP address of AS/400 machine in CL program

    Hi Can anyone tell me how to get the IP address of the AS/400 machine in CL program. Are there any APIs for this? I need  to pass this IP to run a Java program through CL. Thanksin advance Supriyob

    Supriyob2165 pointsBadges:
  • How do I find out how many lines of source code are on the system?

    Hello. I'm trying to write a program that will tell me how many lines of source code reside on our system. I figured out the first couple of steps, but it just gets more and more confusing along the way, and I really think there's gotta be a better way to get the information i need. So far, this is...

    Eric Witham690 pointsBadges:
  • How to add CRLF to a CL Message

    I would like to add a CRLF so part of a message in a CL command will go to a new line.

    Tw65 pointsBadges:
  • I Put a HEX on youuuuuuuu……

    Does anyone have any suggestions as far as reference material that would help me understand EBCDIC Character sets, Hex, Binary, and how you can tie them into CL's & RPGLE's, and whatnot?

    Eric Witham690 pointsBadges:
  • Emulator for practice

    Hi friends, I am new to AS/400. So I need to practice a lot at home. Can anyone suggest me free emulator to work in AS/400, RPGLE, etc. Thank you.

    senmalar210 pointsBadges:
  • Download from the AS/400 tab delimited file

    I need to be able to download in an automated fashion, a DB2 table as a tab delimited text file on a PC. I have successfully done this manually using the Actions munu in client access but need to be able to do it automatically in either a CL of a PC scheduled job so that it will run unattended. Any...

    Butcheanes5 pointsBadges:
  • AS/400 Primary Language

    Hi! I developed an application in CL and RPG and I want it to be multilingual. Is it possible to programmatically read the system primary language so I can use the same language for my application?[o:p][/o:p]

    BobIV15 pointsBadges:
  • How to retrive only MSGW status in AS/400 through CL?

    How can I retrive only a MSGW status in AS/400 through CL?

    perkaravi1235 pointsBadges:
  • RTVDIRINF giving CPF1ED7 when running in batch CL program…

    I want to run the RTVDIRINF command in a batch CL program. However it keeps failing with CPF1ED7. I'm specifying a file prefix & library on the command and it's running under V6R1M0.The command executes OK when ran from the command line with the same parms.Anyone have any ideas as to what's...

    jontheblue40 pointsBadges:
  • Reading liblist through an ILE program

    Our part of the company controls what objects our programs on our AS/400 work, running them with different liblists. But we know that some operations can't be controlled by this. Our program needs to read the liblist and decide on some of the libraries in it (and how to act).But we couldn't find...

    ITKE347,940 pointsBadges:
  • Could we set compiler options for activation groups in RPG/CL program?

    In most of our AS/400 programs, we need to change the handling of the activation group (since the default behavior is not useful). When I compile one of those programs, I have to remember to set the complier options. (Depending on the program)enter 14, hit F4, change DFTACTGRP from *YES to *NO, hit...

    ITKE347,940 pointsBadges:
  • How save SQL and CL in SAVF!

    Hello, How to save CL and SQL in SAVF, while SAVLIB command these two type of members are not saved. I want to move these from V7R1 to V5R4. Please suggest!

    sgautam11110 pointsBadges:
  • What is the best way to execute SQL statements in a CL program.

    What is the best way to execute SQL statements in a CL program? We can run SQL statements in a RPG program. I want to delete some records from a file using the SQL delete statement then organize it.

    SHhand25 pointsBadges:
  • Duplicate key on access path.

    I have a physical file PF1 with some key fields(K1,K2,K3). PF1 has say 5 logical files with different keys(K1,K2...K5) I am trying to update only a field of PF1(that field is not a key in PF1) using SQL(stored procedures) PF1 has unique keyword mentioned.But the update is not made on key fields....

    anuppdas105 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:
  • After Directory Change – STRPCPCM stopped working

    This old command worked fine for many years. STRPCCMD PCCMD('+ RTOPCB + GR-FILE02+ sys+ DEPT+ ACCT+ BPCSJEUPLOAD+ AMHB.DTF') Now do to SarBox, we had to eliminate crossover users from accounting data. After changing the command to point to the new network location, it no longer works. STRPCCMD...

    GRRPG5 pointsBadges:
  • Connect Direct File transmission

    How to confirm whether the file has fully transmitted from source system(say mainframe) to iseries. I know how to check manually using wrkoutq. Mainframe is transmitting FileA to iseries. File transmission itself will take 1 hour to complete or sometimes may take upto 2 hours. iseries job should...

    anuppdas105 pointsBadges:
  • SQL optimization in COBOL400

    I am using an SQL in Cobol 400 to delete around 100 million records out of 200 million records based on a date. What is the best way to delete this much data in one stretch? The file has key as date. My sql would look like Delete from FileA where Date < 'some date'

    anuppdas105 pointsBadges:
  • how to pass DATA AREA to RPGLE PROGRAM

    hi, I have one data area called ABC of type *CHAR length is 10 in that i have some data i want pass that data area to RPGLE program as parameter, with in RPGLE program how can i receive that data area values in my program as PLIST and i am just calling this program from command line not from CL...

    Mohan K695 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