CL Questions and Answers

Recent IT Questions

181 - 199 of 199
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>

how to write all the matching records in to antoher file in CL program

hi, i am having a pf in that pf contain many members, using display file i have to search a perticular string in all the members if it is found these matching records want to write into another file this is my requirement. in CL grogram how to do this? using FNDSTRPDM can we do that, please...

View Answer   |  Apr 11 2008  4:05 AM GMT
CLLE, CL, FNDSTRPDM
asked by It doubts

  85 pts.

DSPF & SNDRCVF

In a CL, I need to define two files. One file is a display file and the other is a physical file. Then I need to do a RCVF to pass the retrieve data in the display file then use the physical file. When I try to compile the pgm using the RCVF, it does not recognize the variables in the display file...

View Answer   |  Apr 2 2008  2:23 PM GMT
AS/400, CL, RCVF
asked by SOUTHEAST

  30 pts.

DSPF / SNDRCVF

Can I declair two files in one single cl program and use the command SNDRCVF

View Answer   |  Apr 1 2008  8:48 PM GMT
CL, AS/400 printing, SNDRCVF
asked by SOUTHEAST

  30 pts.

Saving spool files from an AS400, restoring spool files to a different AS400

Hello Does anyone have any previous knowledge on how to save spool files on one AS400, (presumably to tape back up), and then perform a restore operation of these spool files on a different AS400. Note that the client is at V5R3. I am hoping that we can do this procedure with C/L programs ?...

View Answer   |  Mar 31 2008  1:34 PM GMT
Spool files, CL, AS/400 backup
asked by Zenmaster2

  35 pts.

How do I find out how many lines of source code are on the system?

Hello. I'm trying to write a program that will tell me how many lines of source code reside on our system. I figured out the first couple of steps, but it just gets more and more confusing along the way, and I really think there's gotta be a better way to get the information i need. So far, this...

View Answer   |  Mar 18 2008  1:52 PM GMT
RPGLE, CL, QSYS.LIB
asked by ShatteredRaven77

  390 pts.

INDICATORS- Can function keys be defined and looked for in a CL program

Can function keys be defined and looked for in a CL program. IF a CL program is used to run a Query with a prompted select, and the user presses F3, Can I trap this?

View Answer   |  Mar 10 2008  9:47 PM GMT
AS/400, CL
asked by Pegasus04

  5 pts.

RUNSQLSTM

am executing a RUNSQLSTM out of a CL program that run a source SQL statement in a source file of a library. Everytime the statement is executed I get a output spool file of the SQL parmeters and execution results. How can I prevent this?

View Answer   |  Mar 6 2008  7:41 PM GMT
SQL, CL, RUNSQLSTM
asked by Abbey

  120 pts.

Capacity management

As part of capacity management, we need to collect data on disk utilization, cpu utilization, memory utilization of our AS400 servers. Is it possible to retrieve all these information using a program? If yes, kindly provide me the programs to do the same. Is there any other technique that can be...

View Answer   |  Mar 3 2008  6:04 AM GMT
REXX, CL
asked by Srinivas naikk

  115 pts.

call php from cl

Hello, i call a php program from my cl with CALL PGM(QP2SHELL) ... the php is called, but then opens the QSHELL. can i close the QSHELL from my php programm? Or can i call a php programm without starting qshell? btw. can i sent parms back to the cl from php? Thanks for your help i am just...

View Answer   |  Feb 26 2008  4:15 PM GMT
AS/400, PHP, CL
asked by Jogisarge

  25 pts.

Download from the AS400 tab delimited file

I need to be able to download in an automated fashion, a DB2 table as a tab delimited text file on a PC. I have successfully done this manually using the Actions munu in client access but need to be able to do it automatically in either a CL of a PC scheduled job so that it will run unattended. ...

View Answer   |  Feb 12 2008  4:13 PM GMT
AS/400, DB2, CL
asked by Butcheanes

  5 pts.

User Exit Programs-FTP

Hello I am strggling with first user exit program. I only want to allow specific users (those keyed into a file), to be able to log into FTP. In addition, I only want to allow the function of the SENDING of files, once logged in. I am struggling with how to capture...

View Answer   |  Feb 5 2008  2:20 PM GMT
RPGLE, CL, User Exit Program FTP
asked by Piano

  250 pts.

iSeries PDM CRTBNDRPG Parameters

Hello The question is a bit long but the answer should be short so here it is. In order to run some pre/post-compile processing of RPG program I'm looking for a way of replacing QRN4CPP (CPP of CRTBNDRPG) with a CL program of my own that wil run Pre-Compile, Invoke the original QRN4CPP and then...

View Answer   |  Jan 16 2008  4:04 PM GMT
AS/400, iSeries, RPG
asked by Gad

  75 pts.

Scheduling queries in AS/400

What is the easiest way to schedule several queries to run several times throughout the day??? Will the Advanced Job Scheduler accomplish this or would writing a simple CL program be easier? Or is there any other methods?

View Answer   |  Dec 28 2007  11:22 PM GMT
Query, CL, Scheduling
asked by Johnny5

  20 pts.

what is diff b/w CPF0000 and CPF9999

what is diff b/w CPF0000 and CPF9999

View Answer   |  Dec 19 2007  6:27 AM GMT
CL, CPF0000, CPF9999
asked by Hariprasadketha

  10 pts.

running a vb pgm in CL hangs

When I run a vb pgm in CL, the screen hangs.

Answer Question   |  Dec 11 2007  3:57 PM GMT
Visual Basic, CL
asked by Waldo13

  5 pts.

SQL and CL

I would like to learn more about putting SQL in CL and RPGLE. What is a good way to learn about this?

View Answer   |  Dec 3 2007  5:33 PM GMT
SQL, RPGLE, CL
asked by Popers

  40 pts.

Need to make a parameter required !

I want to code a *cmd with four parameters. 1. I want all of them to be required ( i.e. pressing enter without typing anything should issue a error message "Parameter BLABLA required") 2. I want to check at a *cmd level , not at the *pgm level behind the command if the entered parameter contains a...

View Answer   |  Nov 27 2007  9:07 AM GMT
CL, parameter, CMD
asked by Iordache

  65 pts.

Inquiry Message Reply

I am working with 2 iSeries Servers both running V5R3M5. I have a job that runs on both systems that detaches and attaches journal receivers. A CPA7025, Receiver never fully saved, is issued at times. One of the first statements in the CLP is CHGJOB INQMSGRPY(*DFT) so the Default Message Reply...

View Answer   |  Nov 16 2007  7:04 PM GMT
iSeries, CL
asked by Wpoulin

  1115 pts.

Updating a file in cl?

Can we update a file in CL? If so how?

View Answer   |  Nov 14 2007  6:22 AM GMT
AS/400, CL
asked by Vinny

  0 pts.

181 - 199 of 199
<<PREVIOUS 1|2|3|4|5|6|7|8|9|10 NEXT>>