AS/400 Tag Directory

Featured AS/400 Questions

  • How to pass numeric data to CL program from AS/400 command line

    Hi All, I want to pass numeric data of length (8 0) to my CL program while calling from AS/400 command line but program is not receiving correct value into the program. Can anyone please help me how to pass numeric data?

    Mohan K695 pointsBadges:
  • iSeries Client access process pcscm.exe not ending

    After starting a number of CA sessions, and then closing all the windows, the pcscm.exe and pcsws.exe processes in Windows XP does not end. Before I can start a new CA session, I must end these processes. How come these processes do not end after closing all CA sessions.

    CoderHal365 pointsBadges:
  • AS/400 CL program

    In CL program I need to take a mbrlist for a particular file and read the member names. I have to write PGM but I got below errors. Please help me.       301-              DCLF       FILE(QTEMP/EMP2)                   * CPD0736 30  Declare command occurs after first operable...

    chowas400620 pointsBadges:
  • TAB to skip field – SYNON

    I have a synon screen pgm with 5 input fields - one below another. I am on first field, and on pressing TAB there, I want the cursor to go to third field skipping the second. How can I do that? Plz help.

    Rituraj0 pointsBadges:
  • Synon/Cool:2E – internal/external func performance question

    I have a situation where I have to call a synon function multiple times (for each record in a file one after another) from another synon function. The called function does some calculatons. Will there be any performance improvement if I make the called func an internal function and have an external...

    Rituraj0 pointsBadges:
  • SYNON vs COBOL

    Hi All, This query is related to performance. I am currently in the process of changing an application from COBOL to Synon. The application uses a lot of I/O involving files. Upon converting the application to Synon, I find that the performance has declined - COBOL takes 8 minutes whereas Synon is...

    Rituraj0 pointsBadges:
  • OPNQRYF command runs ok interactively but errors out in batch

    I have a CL (call it RUN) that calls multiple CLs. This was done to run several steps that were run manually. Two of these CLs ( STEP ONE and STEP TWO)  use an OPNQRYF against the same file. When I called RUN it worked fine interactively but when I submit it through WRKJOBSCDE, STEP...

    Georgeann10 pointsBadges:
  • ROLLBACK in CL program

    How to use ROLLBACK command in CL program?

    suryathiru10 pointsBadges:
  • Corrupt .dbf files

    Dear Sir/Madam, I am using a software bases on Clipper, i made all the entries and then I indexed. The program stopped working and closed. Since then I'm unable to retrieve the latest data from the .dbf files. Thanking you in advance.

    pliv8315 pointsBadges:
  • Can Parameter be passed to/from OCL procedure

    Can a parameter be passed to/from an OCL procedure (as opposed to CL program)?

    dmills5 pointsBadges:
  • Client Access Timeout Error CWBC01048

    We have installed the IBM Client access v5r3 software. When we connect to AS400 server using Client Access we are getting a time out error (CWBC01048). We were able to connect to the server using TELNET and also ping to the server.

    Ben Rubenstein11,255 pointsBadges:
  • SQLCOD = -7008 when doing an insert into file using SQLRPGLE

    Hi, I'm trying to insert selective records from one file into the same file in another library. I have to do this for many file. Am building the query dynamically using SQLRPGLE. Am using a PREPARE statement and an EXECUTE statement to run the query. While the PREPARE statement ends fine, am...

    SasiKumar0 pointsBadges:
  • Retrieving the system date by using CL

    How do I retrieving the system date & time by using control language?

    dattatrayphalle70 pointsBadges:
  • Retrieve system date and time on AS/400

    How do I retrieve the current system date, time and name using CL program on AS400? Pls share the CL source.  

    Mani1017130 pointsBadges:
  • Retrieving system name using a CLP

    How to retrieve the iseries or AS400 SYSTEM NAME USING A clp program?

    MELINDAD5 pointsBadges:
  • Allow user to run AS/400 commands

    I have limit capability enabled for a user, but I need to enable him to run few commands, which is not able to because of Limit capability parameter set as *yes, Can I  get him to execute certain commands in spite of limit capability parameter set as *yes. How can I do it?

    JohnsonMumbai1,425 pointsBadges:
  • How do AS/400 stored procedures get output?

    I have created a CL which calls an RPG program. Now I have to create a stored procedure which calls the CL! As RPG normally sends back the output to CL! How should I send back the output to SP? Will SP normally pick it or is there any command to send back the output to stored procedure (SP). I have...

    bharathtata30 pointsBadges:
  • Avoid “black screen” between two processes in CL program

    Hi guys, I have my CL proc, inside it I call my PGM1 and PGM2, ..... CALL       PGM(MYLIB/PGM1) CALL       PGM(MYLIB/PGM2) ... PGM1 excpt a screen and I fill it then press F8. with F8 seton LR, end PGM1 and start PGM2 that process file data with parameters passed from PGM1 and give me print...

    Damiano25 pointsBadges:
  • CL SNDUSRMSG to PF

    Hi All, I am new to CL/400, please help me to understand it. Below is the simple CL program. PGM DCL VAR(&A) TYPE(*DEC) LEN(4 0) VALUE(10) DCL VAR(&B) TYPE(*DEC) LEN(4 0) VALUE(20) DCL VAR(&C) TYPE(*DEC) LEN(4 0) DCL VAR(&D) TYPE(*CHAR) LEN(6) CHGVAR VAR(&C) VALUE(&A +...

    sivaknagula55 pointsBadges:
  • iSeries client access Copy to clipboard fails

    Hi, I have an intermittent problem with copy and past from client access for system i. I can be happily using copy and paste from client access to word, or Excel, then for some reason it just quits, and all I get is a beep. To reinstate, I have to exit all the way out and kill the session, and kill...

    Asmithsbs15 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.

Thanks! We'll email you when relevant content is added and updated.

Following