CL Questions and Answers

Recent IT Questions

61 - 80 of 199

Cl program that reads a datafile for ftp

i need an example of cl program that reads a file containing ftp commands and executes the commands in their arrival sequence. thanks.

View Answer   |  Feb 6 2009  5:06 PM GMT
CL, RPG/400, FTP
asked by Lacag

  95 pts.

Unable to over ride a PF member

Hi, I made a cl program and in it I over ride a pf member, clrpfm then call my rpgle program. I can't write on my member but instead it writes on the primary member and reads it. seems the member that is used is the the primary member and not the member that I over rides.

View Answer   |  Feb 6 2009  3:43 AM GMT
Physical File, CL/400, CLRPFM
asked by Ayterrobias

  5 pts.

CL/400 command for Exit Point or Exit Programs

please advice any CL command is there for finding the information regarding exit points and exit programs.

View Answer   |  Feb 4 2009  11:24 AM GMT
CL/400, exit point, Exit programs
asked by Askt1

  105 pts.

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

View Answer   |  Jan 27 2009  8:54 AM GMT
CL/400, Spool files, AS/400 import/export
asked by BibinGeorge

  110 pts.

How to check if email option is enabled on a AS/400 server

How to check if email option is enabled on a AS400 server

View Answer   |  Jan 23 2009  10:15 AM GMT
CL/400, AS/400 email, AS/400 administration
asked by Askt1

  105 pts.

Send a break message to multiple users

How to send a break message to multiple users.SNBRKMSG has the option to send it only to worksations.

View Answer   |  Jan 23 2009  10:03 AM GMT
CL/400, SNBRKMSG, Send Break Message
asked by Askt1

  105 pts.

ALCOBJ scope

I want to allocate the dataarea by using ALCOBJ command and i am confused the in selecting the scope. Can anyone explain me abt the difference betwwen JOB scope and THREAD scope in details ?

View Answer   |  Jan 23 2009  7:09 AM GMT
CL/400, ALCOBJ, Allocate Object
asked by Frmdeva

  215 pts.

Maximum number of CL variables with IBM i 6.1

What is the maximum number of variables that you may define using the DCL command in a CL program on an IBM i version 6.1 system? Also: Where is this documented, if you know? I couldn't find it in the online help, Information Center, or CL Programming PDF. Thanks!

View Answer   |  Jan 22 2009  10:27 PM GMT
CL programming, AS/400, OS/400
asked by I5os

  10 pts.

RPG/400 - CL command to search a record like CHAIN opcode in RPG

Please advice we have any command there in CL to search or find a record like CHAIN opcode in RPG.

View Answer   |  Jan 19 2009  6:43 AM GMT
RPG/400, CL, CHAIN
asked by Askt1

  105 pts.

RPG/400 - How to check if record is reaching end of the file in CL

Please advice me how to chck record is reaching end of the file in CL.

View Answer   |  Jan 19 2009  6:39 AM GMT
RPG/400, CL, AS/400 Control Language
asked by Askt1

  105 pts.

Unable to override a PF member

Hi, I am trying to override a physical file using CL. The CL program is being called by a CBLLE program. In the CBLLE program, I want to process the overridden member.But,all the processing is going on the first member only.It looks like as soon as the CL program terminates DLTOVR gets executed...

View Answer   |  Jan 16 2009  1:31 PM GMT
OVRDBF, DLTOVR, PF
asked by Prabhjot85

  15 pts.

Not able to override a database file in CL

Hi, I am trying to override a physical file using CL. But,when I go and delete the override, I get an exception that it was never overriden. :( Any help will be highly appreciated

View Answer   |  Jan 16 2009  1:13 PM GMT
OVRDBF, DLTOVR, CL
asked by Prabhjot85

  15 pts.

CL problem with purge

The below code was written to automatically purge files once in 2 months.The problem here is that there are months with 30,31 and 28 days so while deletion some files may be left out.Can this be rectified. CHGVAR VAR(&PYD) VALUE(&PYC) CHGVAR VAR(&PMD) VALUE(&PMC) CHGVAR ...

View Answer   |  Jan 9 2009  3:15 PM GMT
CL, CL programming
asked by Anderson123

  840 pts.

MSGW

Thank You for your reply But I need the process how I can write a program in order to get all the process to be done that is, giving opt7 & reply 'G' for a MSGW job. Or can I have any other process to do the same that means sending a reply to a MSGW job in RPGLE or CLLE or by any other process in...

View Answer   |  Jan 9 2009  4:43 AM GMT
MSGW, Message Waiting, AS/400 administration
asked by Kothamasusitaratnam

  5 pts.

CL Program

Hello, Where do I write a CL Program in the iSeries? step by step. thanks

View Answer   |  Jan 8 2009  4:35 PM GMT
CL programming, CL
asked by Querys

  100 pts.

ftp rpg

Hi I have called a program which would read the contents of the FTPLOG file member for successful transmission and sets an error flag ERR accordingly.Now i need to pass this value from the RPG to CL and use it to send a notification CALL PGM(FTPLOG) IF ...

View Answer   |  Jan 8 2009  3:17 PM GMT
RPG, CL, FTP
asked by Anderson123

  840 pts.

ftp in As400

OVRDBF FILE(OUTPUT) TOFILE(*LIBL/FTPSRC) + MBR(FTPLOG) FTP RMTSYS('123.4.5.678') DLTOVR FILE(INPUT OUTPUT) Can you let me know if the above code would write the FTP transmission...

View Answer   |  Jan 8 2009  3:14 PM GMT
CL, AS/400 FTP, FTP
asked by Anderson123

  840 pts.

How to strip comments from CL program?

Anyone know of a utility that will strip comments out of a CL program? We have many programs with more comments than actual code (for history purposes) and I'd like to see just the actual code. And no, I don't want to RTVCLSRC and lose indentation, etc.

View Answer   |  Jan 5 2009  8:06 PM GMT
CL utility, CL, CL programs
asked by OldSysAdmin

  360 pts.

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

View Answer   |  Jan 5 2009  5:46 AM GMT
MSGW, WRKACTJOB in AS400, Message Waiting status
asked by Sitaratnam

  10 pts.

CL AND RPGLE

can i call an rpgle prog from a cl by passing parameters from cl. Also how do i debug these two sources which are of different types.I am not able to use strisdb to link the modules.

View Answer   |  Jan 2 2009  1:13 PM GMT
RPG, RPGLE Program, CL
asked by Anderson123

  840 pts.

61 - 80 of 199