AS/400 Tag Directory

Featured AS/400 Questions

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

    Damiano20 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:
  • See consolidation of program

    How can I see the consolidation of my program? Do I use RPG, RPG ILE or CL to do so?

    monivaz30 pointsBadges:
  • Data validity vs. CL program with OVRDBF command submitted 10 times simultaneously

    Would I be able to process the file correctly if I would have a CL program submitted 10 x simultaneously that contains OVRDBF. Behavior is similar to multi threading and this would really help process a very large file with less time. OVRDBF is necessary to point to the correct file member prior to...

    Andy01atSM10 pointsBadges:
  • Edit Client Access TFR

    I'm trying to upload a multiple Excel sheets to iSeries, Getting warning message: Multiple sheets exist in PC file. Do you want to send data from sheets other then first. I don't want to use other sheets. Is there a way I can edit the TFR and change it so it does not ask? Where can I find...

    polsh5 pointsBadges:
  • Automate AS/400 backup verify program

    Hi All, I perform AS/400 full system backups using go save, option 21 every week. Once backup is done, I'll give command DSPLOG LOG(QHST) MSGID(CPF096...etc) and verify how many libraries have been saved. I want this to be automated, can we write a program (CL/RPG) to pull all this information into...

    sivaknagula55 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:
  • What has changed in AS/400?

    Hi, I returned to AS/400 after about 10 years. I have developed a lot of software in RPG/400 and intensive use of CL, without SQL or query. Now I return to the AS/400 for work, what has changed? Can I start with RPG/400 and CL or I have to learn others. Thanks.

    Damiano20 pointsBadges:
  • DLCOBJ command not working

    I have a program that allocates an object (*file), calls a program, then deallocates. The dlcobj does not work. RPG PROGA calls CL PROGB which calls CL PROGC. PROGC does the alcobj and dlcobj. However when the program returns to PROGA (interactive RPG), the object is still locked. Any ideas?

    ttufankj25 pointsBadges:
  • Application error. MCH3401 unmonitored by X at statement 0000004388.

    Cl Program Dump.  Message ID CEE9901 Message text: Application error. MCH3401 unmonitored by X at statement 0000004388. instruction x'000'. Please help

    spalacio20 pointsBadges:
  • Control F3 using SNDUSRMSG and SNDPGMMSG in CLP

    I would like to control F3 key when using SNDUSRMSG and SNDPGMMSG in my CLP. Please help me to accomplish it.

    gopinathravi935 pointsBadges:
  • How to find the reclaim parameter set in Dataqueue object

    What is the command to check the parameters defined for a Data queue?

    JohnsonMumbai1,425 pointsBadges:
  • Error message when compiling CL program: CPD085C 40 Graphic field not allowed for variable & OBJRTVUCS

    Graphic field not allowed for CPD085C 40 Graphic field not allowed for variable & OBJRTVUCS is the error message I get when compiling CL Program. I'm taking output to file of a Vision WRKDG command. This ouput file I declare in the CLP.  While compiling the CL, I'm getting error 40 with...

    JohnsonMumbai1,425 pointsBadges:
  • What is the difference between dataqueue and Userqueue.

    What is the difference between dataqueue and Userqueue objects?

    JohnsonMumbai1,425 pointsBadges:
  • CPYFRMIMPF command successfully copies to PF but resulted to special characters on PF

    I have created new directory in AS/400 named MMVRADIR with subfolder MMVRAFLR. I have a CL program using CPYFRMIMPF command to restore the content of a txt file inside "MMVRADIR/MMVRAFLR/APDM082716.TXT" to AS/400 physical file SMREB33F. The CPYFRMIMPF was able to copy the contents but when I runqry...

    KAILOFOXS5 pointsBadges:
  • OPENQRYF: Unmonitored message CPF9899 occurred at statement

    Hi All I had made the changes in the program and debug the same but while debugging it gives me the following message at open query file line as: Unmonitored message CPF9899 occurred at statement. OPNQRYF FILE((F60SLB05)) QRYSLT('YTAN8 *EQ ' *CAT + &EMP *CAT ' *AND YTATIM *GT &STARTDATE +...

    Anshul14095 pointsBadges:
  • How can I get system CPU usage and individual job CPU usage from database output of WRKSYSACT command?

    How can I get current system CPU usage and current individual job CPU usage from database file output of WRKSYSACT command. Which are the fields which store these values. I would like to write a program which reads the output (*file)of WRKSYSACT command. This program would send a message/mail when...

    JohnsonMumbai1,425 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