CL Questions and Answers

Recent IT Questions

161 - 180 of 199

CPYF selecting a record by a variable

Hi friends, I have a CL and I dont know how making a cpyf selecting records with a variable, like this example: 5722SS1 V5R3M0 040528 Control Language DLTOLDSPLF/CARGA TDBSBC14 04/06/08 19:54:32 Page 1 Program . . . . . . . . . . . . . . . . . . . : ...

View Answer   |  Jun 5 2008  1:46 PM GMT
AS/400, CL, CPYF
asked by SILVARB

  420 pts.

why we cant write data to pf using cl program?

y we cant write data to pf using cl program?

View Answer   |  Jun 4 2008  6:31 AM GMT
CL, PF/LF
asked by Professional in as400

  5 pts.

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?

View Answer   |  May 28 2008  6:00 AM GMT
RPG, CL, RTVDTAARA
asked by 6r

  155 pts.

how to declare date variable in cl programme?

Pls tell me how can i declare date variable in my cl programme?

View Answer   |  May 28 2008  4:22 AM GMT
CL, Date variable
asked by 6r

  155 pts.

I Put a HEX on youuuuuuuu......

Does anyone have any suggestions as far as reference material that would help me understand EBCDIC Character sets, Hex, Binary, and how you can tie them into CL's & RPGLE's, and whatnot?

View Answer   |  May 21 2008  2:43 PM GMT
RPG, CLP, RPGLE
asked by ShatteredRaven77

  390 pts.

Object authority

How we can check object authority in CL program?

View Answer   |  May 21 2008  12:32 AM GMT
CL, Object authority
asked by Chandra93

  55 pts.

CL doesnt work

I have a CL/400 and i have a problem when I try start a device printer with the command STRPRTWTR, in many situations this devices not exist on the system, How can I resolve this situation ?, below the CL. QNBR*...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 .. 100 ...

View Answer   |  May 19 2008  9:09 PM GMT
AS/400, CL, STRPRTWTR
asked by SILVARB

  420 pts.

cl which command do we use to update a physical file in CL program?

which command we use to update a physical file in CL pgm?

View Answer   |  May 15 2008  3:38 AM GMT
AS/400, CL, CL programs
asked by Cyjil

  10 pts.

Device Printers

Hi friends, How can I create a CL to Start or End a printer device ? A command or CL like this: Start or End Printer Y or E ____ Option Name of the device printer ____ *devd Thanks for all.

View Answer   |  May 14 2008  8:38 PM GMT
CL, AS/400 printing
asked by SILVARB

  420 pts.

How do you end a cobol program that calls a menu(cl)?

I have a menu that calls another menu. Before the first menu calls the second menu it calls a cobol program which reads a table to verify that the user attempting to access the second menu has authority to the second menu. If the user has authority to the second menu, the cobol program calls the...

View Answer   |  May 8 2008  8:07 PM GMT
COBOL, CL
asked by Cembry

  5 pts.

Command Source Reference Information

HELP! I'm trying to find information regarding CMD Source Programming. A Programmer's, or Reference Guide, something like that. Apparently IBM is full of idiotic support people and no one has any idea what I'm talking about. I can't find anything on the IBM Publib site. Can someone help?

View Answer   |  May 7 2008  2:29 PM GMT
CL, CMD, CMD Source
asked by ShatteredRaven77

  390 pts.

AS400 to Windows control application

Hi there, I am automating a AS400 based process. The process gets inputs from notepad files on Windows server. After I have processed these files through my RPG, CL programs, I need to take following steps I have 14 files in a windows folder. 1. Create a new folder on windows server. 2. Move...

View Answer   |  May 7 2008  0:57 AM GMT
AS/400, RPG, RPGLE
asked by Nutan

  25 pts.

Error when executing RUNSQLSTM from CL program

I am trying to use the RUNSQLSTM command. I get the error message "statement not allowed" Not really trying anything fancy. In CL program RUNSQLSTM SRCFILE(jwe/QCLSRC) SRCMBR(SQL1) + COMMIT(*NONE) In SQL1 I have SELECT mstid, ...

View Answer   |  May 6 2008  3:32 PM GMT
AS/400, SQL, CL
asked by Tcwalls

  5 pts.

I am not able to call CL Programe from within RPG Programme. I am using free as400 connection from pub1.rzkh.de Please Suggest

when i am calling a clle programe from rpgle it gives cannot resolve object as the caled programme did not found but the called and caling programme bothe are present in the current library, also it gives same error now for RPg called programme. The compilation to form a programme fom the module...

View Answer   |  May 4 2008  2:05 AM GMT
RPGLE, CLLE, CL
asked by Agg harish sag

  10 pts.

Programmatically place outq on hold when empty

Hi, I have been tasked with writing a CL program that will be run every night that releases a held Outq and allows the contents to go through then, put the outq back on hold once there are no more spool files in it. Is there an API or something I can use in a CL program that will check for an...

View Answer   |  May 2 2008  2:08 PM GMT
CL, OUTQ
asked by Ronnieb34

  5 pts.

Batch Job Ends without Calling Program on AS/400 V5R2M0

Hi all, I have a batch job 'JOB1' which should execute a command CALL LIB1/PGM1.Here PGM1 is CL Program. I want to debug PGM1. I submitted thru SBMJOB JOB(JOB1) HOLD(*YES) CURLIB(LIB1). All other are default values for SBMJOB. I did STRSRVJOB & STRDBG. When I released Job, I set Break Point at...

View Answer   |  May 2 2008  9:12 AM GMT
AS/400, iSeries, COBOL
asked by NarasimhaReddy

  155 pts.

Communications status

I am trying to retrieve, within a CL program, the information under the WRKJOB command - with OPTION(*CMNSTS) selected. I am successfully using the API QUSRJOBI in a CL program to retrieve information such as Current User but I can't see any reference that looks like the Communication Status...

View Answer   |  Apr 30 2008  9:30 AM GMT
AS/400, CL, QUSRJOBI
asked by Lesdurham

  5 pts.

SQL In CL/400

Could it possibleto write SQL in CL/400 Programing?

View Answer   |  Apr 28 2008  7:11 AM GMT
CL, CL/400, AS/400 and SQL
asked by VENKYAS400

  45 pts.

WRKJOBSCDE

Hi friends, I have a CL and this CL executes the command SNDDST, when this CL is executed like a Scheduled JOB this send doesnt works, but when I call in interative or batch mode, this send works. I PUT BELOW THE DISPLAY JOB Display Job Schedule Entry Details ...

View Answer   |  Apr 23 2008  2:32 AM GMT
OS/400, CL, SNDDST
asked by SILVARB

  420 pts.

User Signed on Notification

Hi. If a user profile already has a CL in the initial program to call parameter and that CL can't be modified to add a sndbrkmsg, is there another way to have a message sent to the admin that a specific user has just signed on to the iseries?

View Answer   |  Apr 22 2008  8:30 PM GMT
AS/400, iSeries, CL
asked by Bsalley

  15 pts.

161 - 180 of 199