CL Questions and Answers

Recent IT Questions

101 - 120 of 199

AS/400 CL Auto Reply to "Load Next Tape messages"

Would like to auto reply to this message without amending the system reply list entries, rather just from within the Backup CLP itself.

View Answer   |  Nov 24 2008  5:05 AM GMT
CLP, CL, AS/400 backup
asked by Techman96

  5 pts.

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.

View Answer   |  Nov 11 2008  7:33 PM GMT
COBOL, RPG, V5R3
asked by Anks

  15 pts.

CL/400

can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value...

View Answer   |  Nov 10 2008  5:36 AM GMT
CL, CL/400, AS/400 Control Language
asked by As400venkat

  20 pts.

strpccmd

CL program uses this command to download file from AS/400 machine on to the PC using TTO.But download is not happening properly.can someone help?

View Answer   |  Nov 5 2008  2:02 PM GMT
CL, CL programming, STRPCCMD
asked by Sumedhah

  5 pts.

How to add CRLF to a CL Message

I would like to add a CRLF so part of a message in a CL command will go to a new line.

View Answer   |  Nov 4 2008  5:12 PM GMT
iSeries, CL, AS/400 command keys
asked by Tw

  65 pts.

New member creation through CL

I need to create members dynamicaly once my file size is full through Cl.How can i do this?How can i set range to this new members?

View Answer   |  Oct 31 2008  6:12 AM GMT
CL, AS/400 administration, AS/400 Control Language
asked by Supriyob2

  65 pts.

Data Extract

What is the easiest way to extract data from a pipe-delimited text file?

View Answer   |  Oct 30 2008  2:37 PM GMT
RPG, DB2, CL
asked by Farmgirl1

  65 pts.

Append date to FTP file name

I want to append the date to the file name I am putting on the pc. I am using a cl batch program to process the files on a daily basis. The files are identified in a member in a source file. (PUT ftpdbf/filea filea102408.txt). The files from the 400 are created with a cpysplf command in various...

View Answer   |  Oct 25 2008  6:04 AM GMT
CLP, CL, CPYSPLF
asked by Zbbwoc

  85 pts.

WRKQRY

How do I create CL program that will execute WRKQRY command?

View Answer   |  Oct 16 2008  7:57 PM GMT
CL, CL programming, WRKQRY
asked by Chardyjr

  45 pts.

CL Program

My management has ask me to disable the ability of users to access to command line access from an application by limting capabilities *YES. I need to write a CL that will allow me to place RUNQRY into the application menu and need help creating the CL program. Can anyone assist?

View Answer   |  Oct 16 2008  5:18 PM GMT
CL, CL Program
asked by Chardyjr

  45 pts.

How to delete a user's spoolfile in batch by date range?

Would like to know is there a way to delete a user's spool file in batch by date range? Is there any CL I can refer to.Please help. FYI, my iSeries model = 20 running on OS/400 V5R3M0. Thank you in advance for your help. Mod Note: This question was submitted to our Moderator mailbox.

View Answer   |  Oct 15 2008  3:52 PM GMT
OS/400, iSeries, Spool files
asked by BrentSheets

  6535 pts.

Retrieving system name using a CLP

How to retrieve the iseries or AS400 SYSTEM NAME USING A clp program?

View Answer   |  Oct 13 2008  1:28 PM GMT
iSeries, CLP, CL
asked by MELINDAD

  5 pts.

Convert date to match database field with L data type?

The field in file is defined with data type L (2008-09-29). My date range in display file is MMDDYY. How do I convert prompt date so I can opnqryf on field in data base file?

View Answer   |  Sep 29 2008  2:12 PM GMT
CL, CL/400, CVTDAT
asked by Sue

  5 pts.

Record lock

I have ecounter a situation where my program is updating a record which is locked by another user. Can anybody suggest on developing a process using CL program which can handle such kind of situation where my CL program will send a message to the user who has put a lock and after waiting for some...

View Answer   |  Sep 26 2008  10:06 AM GMT
CL, COBOL/400
asked by Vids

  285 pts.

Pointer In CL

How we point the particular record in file on the base of key in CL Programming.

View Answer   |  Sep 25 2008  11:48 AM GMT
Pointers, CL, CL programming
asked by Goyalp4

  20 pts.

File access in Rpg

Hi All, Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) ie it should be handled exclusively in an RPG program? Thanks Venkat

View Answer   |  Sep 19 2008  12:59 AM GMT
RPG, CL, OVRDBF
asked by VENKYAS400

  45 pts.

AS/400 SQL Procedure call from CL program

I am calling an SQL stored procedure (counts records for a value) from a CL program. I want to send the value to compare to the CL SQL pricedure and get back the count. How do I define the count variable (&COUNT ?) in the CL program? I am using STRQMQRY to call.

View Answer   |  Sep 18 2008  4:39 PM GMT
CL, SQL stored procedures, STRQMQRY
asked by Burmanr

  10 pts.

CL/400

I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B. if date type is M,now i want to convert date to *JUL format C. sending a Program message with the value of converted date.(With use of CVTDAT in cl coding)Please give me...

Answer Question   |  Sep 17 2008  11:40 AM GMT
CL, CL/400, CVTDAT
asked by Thara

  15 pts.

Immbedding parameters in CL program

Hi, I am having trouble immbedding parameters in a CL program with quotes, within a ADDJOBSCDE command. See below. ADDJOBSCDE JOB(&JOB) CMD(RUNC90JOB SEQ(*SUBJB) + PGM(UN798CL) PARM('''' *TCAT &PARM *CAT + '''')) FRQ(*ONCE) + ...

View Answer   |  Sep 15 2008  0:44 AM GMT
CLP, CL, ADDJOBSCDE
asked by Tjgm88

  440 pts.

How to create CL file from Java class

i m creating a .sh file on the fly from my java code to perform db2 export operation in the code given below. Can I do the same in as/400 to create a cl file on the fly . path = new File(batchfilepath+".sh"); path.delete(); path.createNewFile(); String...

Answer Question   |  Sep 12 2008  6:33 AM GMT
Java classes, CL, DB2/400
asked by Hn

  25 pts.

101 - 120 of 199