OS/400 Questions


WRKDIRE
I have directory entries where the user profiles have been deleted years ago.  When you go to delete them it comes back with CPF9041 with recovery steps to take.  Message . . . . :   User *N, User ID and address JANE CLAYTON, cannot be   removed.                                                              How would I go about deleting them off [...]

Answer Question   |  February 3, 2011  4:13 PM
AS/400 Directory, OS/400, WRKDIRE
asked by:
3,175 pts.

DCLF Command
how many DCLF commands are possible in 1 CLP program. Some says that depends on version also. Is that correct? If yes can someone please list the numbers of DCLF corresponding to the versions? Any documents r pdf would be much appreciated. Thanks all.

Answer Question   |  January 28, 2011  4:41 AM
AS/400, CLPROGRAM, DCLF, OS/400
asked by:
635 pts.

Batch job running for long time
If there are millions of records in a database file and a job accessing this Physical file goes into infinite loop. What will be the steps to determine at what point does this occured or at which record?

Answer Question   |  February 2, 2011  4:02 AM
AS/400, AS/400 batch jobs, Batch jobs, OS/400
asked by:
635 pts.

RPG Program Files in Update Mode
One RPG program P1 opens a file FILE1 in update mode and trailing program P2 opens the same file FILE1 again in update mode. Now P1 updates a particular record (say using CHAIN). Now P2 also want to update the same record (Say using CHAIN). will P2 recieve a new data or old data from [...]

Answer Question   |  January 28, 2011  12:56 PM
AS/400, iSeries RPG programming, OS/400, RPG Program
asked by:
635 pts.

AS/400 record lock situation
I have two subfiles and each updates a file. A user uses the subfile and updates the record. At the same time the another user uses the same subfle and same program to update the same record. How to handle this situation?

Answer Question   |  February 1, 2011  12:54 PM
AS/400, AS/400 Subfiles, OS/400, Output Queues
asked by:
635 pts.

SBMJOB command
hi, I have a CLP which calls two programs A and B. A is submitted using SBMJOB command. My requirement is that after sucessfull completion of A i would like to condition program B. Is this possible? Thanks, Siddharth

Answer Question   |  January 27, 2011  12:50 PM
AS/400, CLP, OS/400, SBMJOB
asked by:
635 pts.

APPN session initiation attempt has failed
I get this message when someone or something is trying to connect to a system that has since long been Obsolete. My question is : is there a way to get to the job that is trying to get a connection to that location?

Answer Question   |  January 25, 2011  9:26 AM
APPN, AS400 APPN Location, OS/400, V5R4M0
asked by:
2,250 pts.

Difference between Module and a Program in AS/400
Can someone please tell me how to differentiate between Module and Program in As400 just by looking at it?

Answer Question   |  January 31, 2011  4:49 AM
AS/400, AS/400 programming, OS/400
asked by:
635 pts.

OS/400 physical file overridden
Hi, I have two physical files File1 in library 1 and library2. What i am thinking of overriding FileX and FileY to lib1/file1 and lib2/file2 in CLP. In my RPG i am using FileX and FileY and reading records from FileX and writing to FileY. IS this possible?

Answer Question   |  January 18, 2011  11:16 AM
AS/400, OS/400, Physical Files
asked by:
635 pts.

NFS version 4 changing export properties
Hi, can someone describe which will be the impact when i will change the NFS Export Properties to NFSv4 (see Advanced – NFS version supported for connections) and what about the security options? Should i unexport the folder before making the change? NFSv4 will impact the user’s access to shared item? Thanks for your Help.

Answer Question   |  January 10, 2011  9:30 PM
NFS, NFS Storage, NFSv4, OS/400
asked by:
250 pts.

Edit mask on date field in AS/400
Is there some trick that would allow using an edit mask on a true date field? I need to display a date in *USA format and allow the user to edit the date. If I convert the date to a numeric field, I can use the EDTWRD and EDTMSK keywords to accomplish what I want. [...]

Answer Question   |  January 6, 2011  6:21 PM
AS/400 command functions, AS/400 commands, OS/400, V6R1
asked by:
25 pts.

Latest Hardware to run os/400 v5r1
What is the latest hardware server that will run the old v5r1 os400 code?

Answer Question   |  December 20, 2010  7:23 PM
iSeries hardware, OS/400, V5R1
asked by:
10 pts.

AS/400 Data Queue being deleted
We have 5 data queues that work fine, but one queue is being randomly deleted by QZHQSSRV. OS400 Version is 5.4. All queues are FIFO and in the same library/ASP

Answer Question   |  December 10, 2010  5:04 PM
AS/400 Data Queue, Data Queue, OS/400, QZHQSSRV, V5R4
asked by:
65 pts.

Copy Option (Windows NT to OS/400)
I am sending file from Windows to OS400… If my Sysopts Copy option is Send as Text or None. there are tab characters at the end of every record of the text. If the syspots option is Send as Binary, the tab characters are found in the middle, embedded in the record. What should I [...]

Answer Question   |  December 6, 2010  2:40 PM
NT Server, OS/400, System Preparation Tool, Windows NT Server
asked by:
5 pts.

How to move an AS/400 numeric field to an alphanumeric field without disturbing the value in it?
How to move a numeric field to an alphanumeric field without disturbing the value in it. I have a numeric field(9,2) with value MyVar = 9876543.21 I need to move this (as it is)into an alphanumeric field(12 A), without distorting the value in it. But if I use %CHAR, it gets moved along with decimals, [...]

Answer Question   |  December 8, 2010  11:18 AM
AS/400, DB2/400, OS/400, RPG/400
asked by:
340 pts.

Why aren’t the Crystal Reports indexes showing since loading V6R1?
I use Crystal reports via ODBC to the iSeries and have for years.  After loading V6R1 when I go in to create a report, the files aren’t showing any indexes like they used to.  The used to show indexes based on the file definitions but now there are no indexes showing. I have even pointed [...]

Answer Question   |  November 8, 2010  6:45 PM
Crystal Reports, iSeries, ODBC, OS/400, V6R1
asked by:
5 pts.

RPG and Service Programs
I’m getting into the “MVC pattern” experience of RPG programming, thanks to Scott Klement’s hints (see “A pattern for reusable code” on his site http://www.scottklement.com and “Binder Language and the Signature Debate” at http://systeminetwork.com/print/64029). After some initial difficulties, I have made an application based on a collection of procedures in a service program (SP) and [...]

Answer Question   |  October 29, 2010  10:44 AM
AS/400, MVC pattern, OS/400, Service program, V5R4
asked by:
85 pts.

Map spool file data to overlay
Please excuse the length of the post but I am new here and not quite sure how to get across what I need. We have a spool file that we do not have source for, it’s from our financial application and cannot be changed. I need to take data from that spool file and place [...]

Answer Question   |  February 16, 2011  12:51 AM
map spool data, OS/400, Spool files, V5R4
asked by:
15 pts.

What happened in the IBM RPG market?
I was active in this market for 10 years, and attained a high degree of competency – cranking out business systems on behalf of mainly blue chip clients. But it all came to a stop in 2002. Was this a political matter, an outsourcing matter? Or a technology change matter (I am now open source [...]

Answer Question   |  October 15, 2010  8:37 AM
AS/400 careers, iSeries RPG programming, Open IT Forum, Open source, OS/400, RPG market
asked by:
110 pts.

Changing the member type in a source file
I have created a cobol source in QLBLLESRC in my library. But by mistake I created it as a text file by not entering the member type as “CBLLE”. How can I change the member type now…thanks

Answer Question   |  September 28, 2010  4:39 AM
AS/400 Library, AS/400 Source Files, CBLLE, COBOL ILE, OS/400, V5R4
asked by:
1,150 pts.