• STRSQL command

    Can you use the STRSQL command within an AS/400 CL program?

    Pb5410 pointsBadges:
  • QCMDEXC API

    What are the commands which can't be executed using QCMDEXC API?

    6r1,485 pointsBadges:
  • Upgrading system from V5R3 to V5R4

    Hi, I need to upgrade the system from V5R3 to V5R4. I need to know that are there any RPG , iLE, CL, Cobol commands that have changed. Which would require code change to incorporatte the upgraded version. Can someove help me out how to find such commands.

    Anks15 pointsBadges:
  • ALCOBJ scope

    I want to allocate the data area by using ALCOBJ command and I am confused about the in selecting the scope. Can anyone explain me about the difference between JOB scope and THREAD scope in details?

    frmdeva365 pointsBadges:
  • CL: AS/400 question

    As/400 question: I am declaring 3 files in CL-ILE, How will CL differentiate between those 3 files? Will it be through the record format names? Does the concept of OPNID come into picture? Can anyone throw some light on what is OPNID and how CL can differentiate more than 1 file when it is...

    juslikdat1440 pointsBadges:
  • Converting julian date with CL on the AS400

    Can anyone help me with correcting the following code? I believe the error is in the /* CONVERT TO 30 DAYS AGO */ area, but I can't see it. ********************************************************************************* DCL &TODAY *CHAR 6 DCL &LESS30 *CHAR 6 DCL &MBRDATE *CHAR 5 DCL...

    Rrbond07135 pointsBadges:
  • Help with CL to answer MSGW on printer WTR

    I have been out of programming for a few years, and am pretty rusty. We run a system that the end users have no command line access. Their printers have occasion to go into MSGW status (ie out of paper, etc.). They then have to call to get support to answer the MSGW on the WTR. I am hoping to be...

    pcoffin75 pointsBadges:
  • Compare creation date of file to system date

    Hi, I need help in figuring out the begaining of my CL program. I would like for the CL to act accordinly. Check a file creation date and compare that date to the system date, then if a match (do something), if not a match (send message and end job). Thank you

    lotofbad205 pointsBadges:
  • Outfile printing

    In CL, I've created a outfile out of dspobjd cmd. To this file, i've filtered a column using opnqryf. I've copied the output (cpyqryf) to a new file. While doing this, i'm getting the error data option was not allowed with open option' The log shows :The first file is created-> added to library....

    Archnav01270 pointsBadges:
  • Problem with CMD/CL and *PNAME type (Path name contains embedded nulls.)

    So I am giving a good effort into writing a CL/CMD pair to start one of our programs from the command line, but I've hit a snag. Here is my CMD source: CMD PROMPT('Start Engine') PARM KWD(PGM) TYPE(*NAME) LEN(10) DFT('TRAN_ENGV2') PROMPT('Engine Program Name') PARM KWD(PATH) TYPE(*PNAME) MIN(1)...

    DraeByllek45 pointsBadges:
  • CL – OVRDBF

    I am executed the below statements using CL. FileA got deleted. I want to know the reason. Please help me to understand the logic. PGM OVRDBF FILE(TESTPF) TOFILE(TESTPF1) OVRDBF FILE(TESTPF1) TOFILE(TESTPF2) OVRDBF FILE(TESTPF2) TOFILE(TESTPF) DLTF FILE(TESTPF) DLTOVR FILE(*ALL) ENDPGM FILEA got...

    rajeshece1,215 pointsBadges:
  • reading a pf in reverse order using cl program

    Hi, How to read a physical file in reverse order using cl program ny example with coding would ne much helpful. Thanks. any sample code would be verymuch helpful

    6r1,485 pointsBadges:
  • Multiple display file in CL program

    I need to have one screen where a user can enter some information, lets say customer number then when they press enter that information will be shown in text on the second screen. So lets say the user enters 321 for customer number and then the second screen needs say "The customer number processed...

    mike178035 pointsBadges:
  • RPGLE opcode similar to SNDF in CL

    Is there any way we can display a message "Processing" while the program is building the data in a subfile. In CL we can use the SNDF command to send such message to the display. Please help.

    ShajiMohan45 pointsBadges:
  • reading values through data area except IN & RTVDTAARA ?

    Is there any other way to read values through data area except Using 'IN'Opcode in RPG and RTVDTARA command in CL? Pls. tell if it could be done in other ways in our RPG programme or in our Cl programme?

    6r1,485 pointsBadges:
  • MSGW in WRKACTJOB

    How to end a job in MSGW how we can give in a program all the proces to give OPT-7 in front of a job which is in MSGW & giving 'G' to end that in RPGLE /CLLE progrm that too in a scheduled time

    Sitaratnam10 pointsBadges:
  • Read backword in CL/400

    How to read backword a physical file in CL400.

    Bdchow5 pointsBadges:
  • Auto reply to CL-created messages

    Is there a way to automatically reply to either the SNDUSRMSG or SNDPGMMSG commands?

    OldScott10 pointsBadges:
  • Sorting alphanumeric field with hexadecimal values

    We have a task where we have to convert key numeric field (8,0) to alphanumeric field (8A) with hexadecimal values ('00000000' - 'FFFFFFFF'). The problem in sorting with alphanumeric is the alphabet is less than the numeric value (A-Z < 0-9). Is there a way, by LF or any AS400 utility, that can...

    Vsevilod135 pointsBadges:
  • Automating SNDNETSPLF in CL

    I want to use SNDNETSPLF to automatically copy each occurance of a specific spool file to another outq for archiving purposes.  The spool file name will always be the same.  To use SNDNETSLF I need to enter the Jobname, User & job number etc.  How do I automate the command?

    ITDavid140 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