AS/400 – CL Command Questions

1

How do I copy a data base file to IFS directory
How do I copy a data base file to IFS directory

Answer Question   |  April 29, 2013  6:38 PM
AS/400 - CL Command
asked by:
ITR
35 pts.

AS/400
 Please help me answer the sample question : What will be the value of IZ during the execution of the following code, when statement 09.0 is reached? (Field length 30 implies 3 byte numeric – 0 decimal). 01.0 C Z-ADD 100 IY 30 02.0 C Z-ADD 0 IZ 30 03.0     *——————————– 04.0 C IY DOULT          [...]

Answer Question   |  March 4, 2013  6:28 AM
AS/400, AS/400 - CL Command
asked by:
15 pts.

Why limit CLI access on AS/400?
A little background… I am new to the compliance and auditing field and recently introduced to the AS/400 system and I am constantly seeing in best practice environments that the CLI be restricted from most users and or at least limited capabilities set to *YES. To the point… The system administrator for the AS400 is [...]

Answer Question   |  February 25, 2013  12:13 AM
AS/400, AS/400 - CL Command, AS/400 security
asked by:
45 pts.

Can an initial program send a pgm message?
Is it possible for an initial program (CLP), that runs when a user logs in, to send a message to the queue of the initial menu? *PRV, *EXT and *SAME do not work when specified as the PGMQ.

Answer Question   |  November 19, 2012  8:57 PM
AS/400 - CL Command, CLP, initial program, SNDPGMMSG, user profile
asked by:
65 pts.

Identifying Source Mbr Names Conditionally
I would like to find a way to conditionally print source file member names that contain a trailing $ sign. Is there a way?

Answer Question   |  October 23, 2012  12:48 PM
AS/400 - CL Command
asked by:
35 pts.

File lock on DB2 AS/400
How do I make a file lock on a DB2 file before accessing it, to ensure that is is not updated while I’m acccessing it ?

Answer Question   |  September 18, 2012  1:42 PM
AS/400 - CL Command, DB2
asked by:
25 pts.

AS/400
Please give me a simple addition CL prog in AS/400.

Answer Question   |  September 11, 2012  6:53 AM
AS/400, AS/400 - CL Command
asked by:
10 pts.

AS/400
What is the use of GENCMDDOC ?

Answer Question   |  August 24, 2012  7:11 AM
AS/400 - CL Command, COMMANDS
asked by:
1,435 pts.

CPA4088 responds automatically?
 Hello Friends,  I Have a CL with commands below  SAVLIB:     SAVLIB     LIB(BKPLIB) DEV(TAP01) ENDOPT(*LEAVE) +                         SAVACT(*SYNCLIB) SAVACTMSGQ(SYNCBKP) +                         ACCPTH(*YES) OUTPUT(*PRINT)              MONMSG     MSGID(CPF0000) EXEC(GOTO CMDLBL(ERROR))              GOTO       CMDLBL(SAIDA)  ERROR:      SNDMSG     MSG(‘TEXT TEXT TEXT TEXT’) TOUSR(QSYSOPR)  SAIDA:      ENDPGM    When the tape needs a second volume, the process ends with “C” on the message [...]

Answer Question   |  May 3, 2011  9:43 AM
AS/400, AS/400 - CL Command, CL Commands, CPA
asked by:
610 pts.

Interactive command in CL
How to successfully compile a CL program that has an interactive command such as STRSEU?

Answer Question   |  May 2, 2011  2:13 PM
AS/400 - CL Command, CL Commands, STRSEU
asked by:
15 pts.

QPNQRY start over
Is there a CL command to restart/reset an Open Query from the beginning ? I could repeat the OPNQRYF command, but that’s silly if a single command does the same thing   Mike

Answer Question   |  March 21, 2011  4:16 PM
AS/400 - CL Command, AS/400 command functions, CL Commands, OPNQRYF
asked by:
1,565 pts.

CHGPRTF: AS/400 printer file
I am changing the width of a printer file width from 132 to 198 using CHGPRTF cmd. Will this work or should i re-compile.

Answer Question   |  October 31, 2010  5:57 PM
AS/400 - CL Command, AS/400 Printer File, AS/400 printing, CL Commands
asked by:
5 pts.

1