CLP Questions and Answers

Recent IT Questions

41 - 60 of 186

cpyfrmimpf

I have a file in my ifs that I need to copy to a physical file using the CPYFRMIMPF command. The file on the IFS is delimited with the ~ and I would like for each stream of data prior to the ~ to be a record in my physical file. I have tried many combinations of RCDDLM and FLDDLM having the ~ and...

View Answer   |  Jul 6 2007  2:30 PM GMT
AS/400, Application development, CLP
asked by dcarney

  30 pts.

Source Modified User

Hi All, If 4 users works on in same library in one source file, How could we know which user has modified a source? Thanks Reddy

View Answer   |  Jul 2 2007  5:25 AM GMT
AS/400, Security, PC/Windows Connectivity
asked by NarasimhaReddy

  175 pts.

Port Parameter on FTP command

I am trying to upload a file from our server to iSeries via FTP. Since we already use the default port (21) for another location on the server we have to use another one that is defined. When I run the command on the command line, it works perfectly. It uses the correct port. But when I run the...

View Answer   |  Jun 27 2007  2:48 PM GMT
Application development, CLP
asked by RonBender

  155 pts.

AS400

hi, i want to know about the answers of these questions.. 1.) If any data has been deleted from the PF then how can we recover that and what are the limitiations for that. 2.) If in run time user want to choose the Access Path of a PF then how can it be possible.

View Answer   |  Jun 20 2007  2:50 PM GMT
AS/400, Security, RPG
asked by AS400person

  0 pts.

Converting from System 36 to iSeries V5R4

I've been landed with a project to convert a System 36 system to iSeries 520 with OS V5.4. I have never worked on a System 36 and do not know where to start. Have looked for some documentation in Red Books but could'nt find anything. Does anyone have something I can use - something like the...

View Answer   |  Jun 18 2007  4:25 AM GMT
AS/400, RPG, Application development
asked by JohnDavid

  0 pts.

CPYTOIMPF and DB2 Field Names

I have created an outfile from a series of iSeries queries and have successfully copied it to a CSV file on a Windows server share. However, the field names don't import with the CSV file. Is there a way to import the field names as column headers in the CSV using the CPYTOIMPF command or another...

View Answer   |  May 31 2007  11:19 AM GMT
CLP
asked by BruceU

  0 pts.

Data Q

I need to check whether there are any data found in a data Q. Is there any way to do that? Appreciate if you can provide sample executable codes for me to test it on. Thanks...

View Answer   |  May 22 2007  2:20 AM GMT
CLP, RPGLE
asked by JennyChin

  0 pts.

Retrive Field Value from Database File in CL

My first attempt at reading a database file in CL. Have the following: DCLF FILE(*LIBL/DVACKWLV) RCDFMT(SCWACK) OPNID(WRK) DCL VAR(&WRK_SCADTE) TYPE(*DEC) LEN(6) DCL VAR(&FILEDATE) TYPE(*CHAR) LEN(6) RCVF OPNID(WRK) MONMSG CPF0864 EXEC(DO) /* End of file */...

View Answer   |  May 17 2007  11:23 AM GMT
CLP
asked by suzuki9380

  0 pts.

Tracking Changes to Files

Requirement:- To track any changes to Two files A and B and write fields of A and B to an output file C. A is related to B (A.Employee = B.Employee) Could you please suggest a good approach for this? I am currently using the approach of journalling. 1. Both A and B are journalled. 2. If Any...

View Answer   |  May 11 2007  5:44 AM GMT
AS/400, Security, PC/Windows Connectivity
asked by AyeYes400

  0 pts.

Question on LoadAll Subfile.

Hi, How to load more than 9999 records in the case of loadall subfile??? And i don't want delete previously loaded records. Thanks, Rama Krishna

View Answer   |  May 7 2007  1:58 AM GMT
AS/400, RPG, Application development
asked by meesala

  0 pts.

Compiling under V5R3 for V5R4 usage

Dear, I'm trying to modify a small CL to comply with new functionalities of V5R4. This CL is used mainly to send datas when the iSeries is on Restricted State, so I've to restart the TCP. Before I was using the command STRTCP STRSVR(*NO) STRIFC(*NO) but with the V5R4, I have to use this command...

View Answer   |  May 2 2007  10:55 AM GMT
AS/400, Application development, CLP
asked by PierreLG

  45 pts.

Help in CL and RPG

Hi, I can execute a CL command in an RPG pgm by calling 'QCMDEXC'. But there are certain CL commands that i cannot execute using 'QCMDEXE', what are they? Thanks in Advance Rama krishna

View Answer   |  Apr 30 2007  10:23 AM GMT
RPG, Application development, CLP
asked by meesala

  0 pts.

In RPG program

Hi, In RPG program i declared files. One for reading and another for Updating. Both the files are in different Library lists. How do i achieve this???? Thanks in Advance Rama krishna

View Answer   |  Apr 26 2007  1:30 PM GMT
AS/400, RPG, Application development
asked by meesala

  0 pts.

Error in a Group of Called Programs

Hi, I have a CL program, it calls 10 other programs i.e. pgmA, pgmB, pgmC.......so on...10 programs. While running the CL program error occurred in pgmC. I rectified that error. After rectification once again I will run the CL Program. Now my execution must start from pgmC. How do i do this??? ...

View Answer   |  Apr 26 2007  12:16 AM GMT
AS/400, RPG, Application development
asked by meesala

  0 pts.

Impact analysis

Hi, The user requested me to change the field length from 25 to 30 char. I want to do impact analysis on this. How do i proceed?? Thanks, Rama Krishna

View Answer   |  Apr 25 2007  8:40 AM GMT
AS/400, RPG, Application development
asked by meesala

  0 pts.

Calling RPG program without Parameters

1) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' accepts 3 parameters. But i need to call PGM 'B' without passing parameters. How to achieve this??? 2) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' doesnot accept parameters. But i need to call PGM 'B' with...

View Answer   |  Apr 24 2007  4:48 AM GMT
AS/400, RPG, Application development
asked by meesala

  0 pts.

Service Program, Activation Group

Hi Everybody, Could anyone from this group help in understanding the Importance of....Service Program, Binding Directory and Activation Group's with ssome practical Example. Thanks, Rama Krishna

View Answer   |  Apr 16 2007  7:21 AM GMT
AS/400, RPG, CLP
asked by meesala

  0 pts.

Parsing parameters for a Command to be run In a CL

I need to allow a user to enter a command at the command line followed by the &Library/File, or just the &Filename. (if they are going to rely on their library list). EX: SHOWME &LIBRARY/FILE or SHOWME &FILE My CMD is running the true IBM Command under the covers so the user does not need to...

View Answer   |  Apr 10 2007  12:11 AM GMT
CLP
asked by FCARPENTER

  200 pts.

How to reset the password??

Hi, How to reset the password through a CL program. The user has forgotten his password, even ADMIN doesn't know the password. Thanks, Rama krishna

View Answer   |  Apr 10 2007  8:29 AM GMT
AS/400, Security, RPG
asked by meesala

  0 pts.

V5R3 to V5R4

my operating system was just upgraded from V5R3 to V5R4. All my cobol programs are compiled with *none commitment control and a target release of V5R3M0. However after upgrading the operating system while executing the programs -913 errors are being encountered. The same programs are getting...

View Answer   |  Apr 7 2007  12:52 AM GMT
AS/400, RPG, Project management
asked by priyaranjanltcp

  0 pts.

41 - 60 of 186