CL Programs Questions and Answers

Recent IT Questions

1 - 20 of 22
<<PREVIOUS 1|2 NEXT>>

SMTP users

Do all users need their own directory entry to send emails. Is there a way for anyone to signon to the system and use a CL program that sends an email message by SNDDST.

View Answer   |  Nov 20 2009  11:58 AM GMT
Email (systems), SMTP, CL programs
asked by Stark99

  5 pts.

OVRDBF AT DIFFERENT CALL LEVELS

HI ,      I am using the command  ovrdbf file(file1) tofile(file2) in the CL program and i am calling an RPG program again in that i want to override the same file(file2) to different members(using qcmdexe). how to do that?  

View Answer   |  Nov 15 2009  1:40 PM GMT
OVRDBF, CL programs
asked by Friends1021987

  5 pts.

Callin CLP with parameter

Hi, I have a CL program which needs two Parametersa as a input, when i call a pgm with values, the value are not properly passed. It gives me decimal data error. For instance i gave values as Call pgm(clpgm) Parm('14' 'aaaaa') But it takes value as F1F44040404040. Hel me out soon. Thanks in...

View Answer   |  Oct 15 2009  9:40 AM GMT
CL programs, CL programming, DDS
asked by Keepsmilin

  5 pts.

Telnet CL program on AS400

Does anyone know if it is possible to write a CL or RPG program that will automate a telnet session to a second device to change data?   I have a multiple fuel controllers that I need to telnet into daily and change the current fuel price. I would like to automate this. Does any onw know how to...

View Answer   |  Oct 14 2009  10:28 PM GMT
Telnet, CL programs, AS/400
asked by Wkozerski

  20 pts.

CL Program

How to create 'n' number of userprofile from CL Program.

View Answer   |  Sep 26 2009  12:25 AM GMT
CL programming, CL programs, CL
asked by Lsivabe

  40 pts.

OVRDBF

In CL program, declared a file FILE01 and read some records, later using OVRDBF accessed another file FILE02. Still I'm getting records of FILE01 only but not FILE02. Why? Thanks Venkat

View Answer   |  Sep 2 2009  12:08 AM GMT
OVRDBF, CL programs
asked by VENKYAS400

  45 pts.

How to get IP address of as400 machine in CL pgm

Hi CAn any 1 tell me how to get the IP address of the AS400 machine in CL program.Are there any API for this.I need  to pass this IP to run a java program thrugh CL.. Thankx in advance Supriyob   Software/Hardware used: AS400

View Answer   |  Sep 1 2009  11:00 AM GMT
API, CL, CL programs
asked by Supriyob2

  65 pts.

Displaying data through DSPF and CL programm.!

I would like to be able to display one record from my PF with DSP file through a CL program on my screen. I have these sources: CL program: ******************************************** QSYSPRT          1  QPADEV0021  USERNAME      pgm             ...

View Answer   |  Aug 26 2009  2:07 PM GMT
DSPF, CL, PF
asked by Avrelivs

  55 pts.

Suppress CPI8072 message when using SNDNETSPLF

We have an interactive CL program that uses SNDNETSPLF to send a spool file to a second outq on the same AS400 running V5R4. After the operation has completed the user receives the message and has to press Enter before the job will continue. Is there a way to suppress this message without...

View Answer   |  Jul 7 2009  9:11 PM GMT
CPI8072, SNDNETOBJ, CL programs
asked by Oldtonew

  45 pts.

CL pgm required to copy data

I need to create a CL pgm to copy data from 2 files into one. The first file's name to be copied is constant but the second file's name changes on a daily basis. Could anyone help with the syntax required to do this? Thx

View Answer   |  May 11 2009  1:50 PM GMT
CL, CL programs
asked by KF

  35 pts.

How i can display or print my CL commands

I everybody, i need print or display all commands that i have inside in my CL programs sources in QCLSRC? it is possible and how? thanks everybody.

View Answer   |  May 5 2009  6:23 PM GMT
AS/400, CL, CL programs
asked by BUG68

  80 pts.

Order of files using READDIR

I am receiving multiple files and placing them in a directory on the IFS. In a CL, I open the directory OPENDIR then READDIR to process all files. It begins reading the last file written when I need it to start with the first file written. How can this be solved in a CL program?

View Answer   |  Apr 27 2009  5:41 PM GMT
IFS, READDIR, OPENDIR
asked by Kscurry

  5 pts.

DDS with temporary name for Physical file

Good day all ! On AS400 I have a CL program that creates a temporary Physical file with variable name. File name is created with "user_id + job_name + time". How can I create a logical file, specifying in DDS for logical file that my PFILE is temporary and has variable name ? Thanks !

View Answer   |  Apr 9 2009  1:41 PM GMT
DDS, CL programs, Logical File
asked by Lenny2113

  115 pts.

My CL program is running CPYTOIMPF cmd & causes an SQL error

Message Id: SQ999999 Error occurred in SQL Call Level Interface. A procedure call encountered an error. The error code is 10. When I F1 on the line in the job log and then F9 for details, I see this: From program QSQCLI in QSYS, module SQLSEA, procedure SQLSetEnvAttr at stmt 5793 and To program...

View Answer   |  Feb 16 2009  4:35 PM GMT
CPYTOIMPF, SQL error messages, CL programs
asked by Jasingle

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

Decimal data error

For testing an RPG program, I changed the CL program which submits the RPG program to a “call”. The change was to include a new parameter (numeric) to the RPG program. After testing, the Call was changed back to SBMJOB, but when tested again, the RPG program bombed with ‘decimal data...

View Answer   |  Dec 12 2008  6:36 PM GMT
RPG, CL, CL programs
asked by Moksha

  20 pts.

CL modification to retrieve the data in LDA

An application exists in production, which submits a job to do some business processing. The program gets invoked from a CL. The program is proprietary and does not have a source. It’s known that this program uses LDA while processing. How can the CL program, which submits the job, be modified to...

View Answer   |  Dec 12 2008  6:04 PM GMT
CL, CL programs, LDA
asked by Moksha

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

create user based on (not navigator- I know how in navigator.

How do I create a user based on another user from a cl program.

View Answer   |  Aug 22 2008  6:37 PM GMT
User profiles, CL, CL programs
asked by TMc

  5 pts.

CPF1236

What would cause CPF1236 to be issued for an overnight job we submit via a CL program? CPF1236 is "Subsystem &1 cannot start prestart job &2."

View Answer   |  Jun 20 2008  1:24 PM GMT
CL, CL programs, CPF errors
asked by Doe Reeves

  55 pts.

1 - 20 of 22
<<PREVIOUS 1|2 NEXT>>