• How to Retrieve MSGW status in WRKACTJOB in CL variable

    Hi, While Job monitoring if any job goes in MSGW status ... then is there any CL command which retrieves the status (exactly MSGW not *ACTIVE) and display it on the screen. Rather than doing manually job monitoring (Pressing F5 for a long time to look into the status of the job) if a CL can run...

    Cool400115 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,480 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:
  • How to find the reclaim parameter set in Dataqueue object

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

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

    What is the difference between dataqueue and Userqueue objects?

    JohnsonMumbai1,480 pointsBadges:
  • CL/400 – How to convert Spool file to Notepad

    Hello Friends, I have a question. In my current project, I have to covert a spool file to notepad and this notepad I have to send it as an attachment to one email address. Question 1: How can I convert spool file to notepad? Question 2: How can I send a notepad as attachment to one email address?...

    BibinGeorge130 pointsBadges:
  • CPYSPLF from one profile to another

    Is there a command thru which we can copy the spool file from one profile to other?

    PRIYAS40 pointsBadges:
  • RPG/400 and CL/400 lifecycle

    Hi, Very good morning my friends.Can any body tell me RPG/400 and CL/400 life cycle? Please!

    AnonymousUser49,520 pointsBadges:
  • CL/400 command for Exit Point or Exit Programs

    Please advise. Is there any CL command for finding the information regarding exit points and exit programs.

    Askt1140 pointsBadges:
  • Subfile with CL/400

    How can I declare a file in the CL/400?

    Spmkalai5 pointsBadges:
  • List of Outfiles

    I've seen a list of the System Supplied Outfiles in one of the manuals. Can anyone direct me to that manual? Thanks, Bill Poulin

    wpoulin2,480 pointsBadges:
  • How to check if email option is enabled on a AS/400 server

    How do I check if email option is enabled on a AS/400 server?

    Askt1140 pointsBadges:
  • File Size in CL/400

    I need to access file size in CL/400. I can't use DSPFD TYPE(*ALL) with OUTPUT(*OUTFILE). Please give the solution.

    NarasimhaReddy225 pointsBadges:
  • Flat file or Physical file in as/400?

    How to know whether a file is physical file or flat file in CL/400?

    Alicsc370 pointsBadges:
  • Inside a running CL program can you find the lib that the program is running from?

    Can you find in a running CL program the lib that it was started from? For example in a C program you can get the library name from argv[0].

    mrlchile50 pointsBadges:
  • Reading records from a file (No Key Field) in reverse order through CL.

    Hi, I just want to know how to read a PF in reverse order through CL. File has no key field. I am trying this using OPNQRYF but I'm unable to get. Kindly let me know the code. Thanks

    HABBIE895 pointsBadges:
  • OVRDBF -POSITION

    Hi,     How to position the record in CL based on the key value? I have tried this.my CL program is as follows... ***************************  PGM                                                    DCLF       FILE(PMS90/EMPMST90)                      ...

    22917560 pointsBadges:
  • STRPCCMD not transfer file into EXCEL

    Here is CL code: DCL VAR(&PATH) TYPE(*CHAR) LEN(110) VALUE('C:\Documents and + Settings\My Documents\QRY result to EXCEL\QRY#2\FILE1.TTO') STRPCO PCTA(*NO) MONMSG MSGID(IWS4010) STRPCCMD PCCMD(&PATH) PAUSE(*NO) Program is running but no file on EXCEL side was updated.

    loveras4005 pointsBadges:
  • Compile all dependent logical files at once

    I would like to convay my Thanks ReshmaG & Gilly400. My main requirement is I have a Physical file called PF1.On this there are 20-logical files are depended . I have changed some attributes on my PF1. Now I want to recompile all the Logical Files , which are depended on PF1. I am writing code...

    Khadar90 pointsBadges:
  • Use CVTDAT to convert date formats

    I have taken 2 parameters(like date and date types). A. If suppose date type is j, now i want to convert date to *MDY format B. If date type is M,now i want to convert date to *JUL format C, sending a Program message with the value of converted date. (With use of CVTDAT in cl coding.) Can anyone...

    Thara15 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