Data sent to device DSP01 not valid. Negative response code is 10050122.
Hello. My display file crashes as it can not display the hexadecimal values in my character field. Is there an easy way to replace these values (like scan) in my 79 character long field that has valid characters mixed with hexadecimal values? (Please no APIs) Thank you in advance. Regards Steven
Answer Question
| September 30, 2010 10:47 AM
Display File, DSP01, iSeries, iSeries RPG programming, RPG
Hello. My display file crashes as it can not display the hexadecimal values in my character field. Is there an easy way to replace these values (like scan) in my 79 character long field that has valid characters mixed with hexadecimal values? (Please no APIs) Thank you in advance. Regards Steven
Symmetrix – choosing permanent or dynamic spare
I have a permanent spare and dynamic spares are available in the symmetrix array when a disk is going to fail the data available in the failed disk will be copied to permanent or dynamic spare? How the disk choose whether the data has to be copied to permanent or dynamic spare?
Answer Question
| September 29, 2010 7:23 AM
Dynamic allocation, EMC, EMC Symmetrix, Symmetrix
I have a permanent spare and dynamic spares are available in the symmetrix array when a disk is going to fail the data available in the failed disk will be copied to permanent or dynamic spare? How the disk choose whether the data has to be copied to permanent or dynamic spare?
Using AS400 COBOL or CL Program to Call an Excel File and Pass Parameters Back and Forth from 400 to Excel Back to 400
[html xmlns=""> I am beginning my investigation to figure out how to use either a 400/COBOL program or a CL program to call an excel spreadsheet that requires three parameters to a calculation and to return a value back to my 400/COBOL program of CL program so that I then can use that value in [...]
Answer Question
| September 30, 2010 1:58 AM
AS/400, CL Program, COBOL, excel, Parameters
[html xmlns=""> I am beginning my investigation to figure out how to use either a 400/COBOL program or a CL program to call an excel spreadsheet that requires three parameters to a calculation and to return a value back to my 400/COBOL program of CL program so that I then can use that value in [...]
Create more member to single physical file
I TRYED TO CREATE MORE MEBERS TO THE PF WITH CRTPF COMMAND AND ALSO GAVE *NOMAX OPTION TO PF .BUT IT IS NOT POSSIBLE FOR ME?HOW TO CREATE A MORE MEMBERS TO PERTICULAR PF ? PLEASE GIVE ME CLEARY?
Answer Question
| September 30, 2010 1:46 AM
AS400 physical file, DDS, Physical Files, V5R3
I TRYED TO CREATE MORE MEBERS TO THE PF WITH CRTPF COMMAND AND ALSO GAVE *NOMAX OPTION TO PF .BUT IT IS NOT POSSIBLE FOR ME?HOW TO CREATE A MORE MEMBERS TO PERTICULAR PF ? PLEASE GIVE ME CLEARY?
Float type parameter containing incorrect value after a callp
I’m calling a procedure from an rpg pgm(V5R4). It has several parameters with different types. Before calling, they are set to 0 or blanks. After calling, all is coming back with correct value except for 1 float(8f) field. We don’t have the source for the procedure however, it’s been tested in C pgm and it works [...]
Answer Question
| October 3, 2010 7:42 PM
float parameter, Parameters, PGM, RPG, V5R4
I’m calling a procedure from an rpg pgm(V5R4). It has several parameters with different types. Before calling, they are set to 0 or blanks. After calling, all is coming back with correct value except for 1 float(8f) field. We don’t have the source for the procedure however, it’s been tested in C pgm and it works [...]
Two subfiles in same screen
I am working with 2 subfiles in the same screen, both have some options that call others programs. There is a function key F12 – cancel that should be return to the last screen after run these programs. The program is using command UPDATE LSTSFL (subfile name). It is working well for the first subfile [...]
Answer Question
| September 30, 2010 2:35 PM
AS/400 Subfiles, RPG ILE, Subfiles
I am working with 2 subfiles in the same screen, both have some options that call others programs. There is a function key F12 – cancel that should be return to the last screen after run these programs. The program is using command UPDATE LSTSFL (subfile name). It is working well for the first subfile [...]
Serving web pages from the ILE
In ILE Cobol I can create and XML document using the built in XML generate (and XML parse) statements. How do I go from there to serve this to a browser? I would like to use a web page IDE tool that I hope can output XSL and then merge the XML and XSL to [...]
Answer Question
| September 28, 2010 1:37 PM
COBOL, HTML, V5R4, XML, XSLT
In ILE Cobol I can create and XML document using the built in XML generate (and XML parse) statements. How do I go from there to serve this to a browser? I would like to use a web page IDE tool that I hope can output XSL and then merge the XML and XSL to [...]
auto print PDF from another server to AS400 printer
In our network setup, we have a teamcenter server ( for engineering data) which contains a PDF file. We do 5250 scan shipping from our AS400. When a label is scanned, they want me to pull this PDF file ( from this other server ) and print it on a laser printer which is a [...]
Answer Question
| September 30, 2010 1:34 PM
AS/400 PDF, AS/400 printing, PDF, PDF to AS/400
In our network setup, we have a teamcenter server ( for engineering data) which contains a PDF file. We do 5250 scan shipping from our AS400. When a label is scanned, they want me to pull this PDF file ( from this other server ) and print it on a laser printer which is a [...]
TFTP Usage?
I have a client that asked me to analyze if we can turn off TFTP service if it is not being used. I honestly didn’t know what TFTP (Trivial FTP) was until I started researching, and I have no clue how to determine if it is being used. Doe anyone have information on determining usage? [...]
Answer Question
| September 29, 2010 10:42 AM
File Transfer Protocols, iSeries, TFTP, Trivial File Transport Protocol
I have a client that asked me to analyze if we can turn off TFTP service if it is not being used. I honestly didn’t know what TFTP (Trivial FTP) was until I started researching, and I have no clue how to determine if it is being used. Doe anyone have information on determining usage? [...]
moving iSeries SAVF file to iSeries IFS
How to move files from iSeries SAVF file to iSeries IFS
Answer Question
| September 28, 2010 5:49 AM
IFS, iSeries, SAVF
How to move files from iSeries SAVF file to iSeries IFS
General Question – AS400
Hi everyone, Just want to know the Life of AS400. Because the feedback i got from everyone is AS400 technology will go, as all the company started migrating from AS400 to other Applications like SAP and mainframes. So I am in a bit confused state, what will happen in future. Do all have any idea, [...]
Answer Question
| September 30, 2010 5:32 AM
AS/400, AS/400 applications, Mainframe, SAP
Hi everyone, Just want to know the Life of AS400. Because the feedback i got from everyone is AS400 technology will go, as all the company started migrating from AS400 to other Applications like SAP and mainframes. So I am in a bit confused state, what will happen in future. Do all have any idea, [...]
SMTP – SEND PDF USING SNDDST TO FAX SERVER
I would like to know if it is possible to send a PDF document using fax # and fax server domaine name instead of regular e-mail address. In the affirmative, could you provide me the e-mail address syntax ?
Answer Question
| February 27, 2011 7:56 PM
AS/400, AS/400 PDF, Fax servers, SMTP, SNDDST
I would like to know if it is possible to send a PDF document using fax # and fax server domaine name instead of regular e-mail address. In the affirmative, could you provide me the e-mail address syntax ?
Power PC Mac Applications will not run on Snow Leopard.
We have an application created for Power PC macs and now it does not run on Snow Leopard. How can we make it work? We installed the optional Rosetta already to no avail.
Answer Question
| September 27, 2010 6:27 PM
Compatibility, Intel Mac, Leopard OS, OS X Leopard, Power Pc, Rosetta
We have an application created for Power PC macs and now it does not run on Snow Leopard. How can we make it work? We installed the optional Rosetta already to no avail.
Differences between Windows Versions on Server 2003?
What is the difference between Windows Server 2003, Webserver 2003 and Small business server 2003? Can they all be a domain controller?
Answer Question
| October 5, 2010 6:26 PM
Domain Controller, Small Business Server, Web Server, Windows domain management, Windows Server 2000, Windows Server 2003, Windows Web Server 2003
What is the difference between Windows Server 2003, Webserver 2003 and Small business server 2003? Can they all be a domain controller?
Command to track how many spool files users have
I have certain users who never clean out their spool files. Is there any command I can run which will tell me how many spool files a user has out there? I am currently on version V5R4 of the operating system
Answer Question
| September 29, 2010 3:20 PM
AS/400 Spool Files, CLLE, iSeries Commands, RPG, RPG ILE, RPG IV, RPGLE, Spool files, V5R4
I have certain users who never clean out their spool files. Is there any command I can run which will tell me how many spool files a user has out there? I am currently on version V5R4 of the operating system
How to check when the object or library got deleted from the system.
When we took the backup found the library was not exist in the system, i want to checkwhen the library got deleted from the system. Thanks in advance.
Answer Question
| September 29, 2010 3:02 PM
AS/400, AS/400 backup, AS/400 backup and recovery, AS/400 Library, AS/400 objects
When we took the backup found the library was not exist in the system, i want to checkwhen the library got deleted from the system. Thanks in advance.
Embedded SQL in RPGLE
I am trying to get some counts and totals from one file and put them in another. My SQL statement works fine with STRSQL, not in the RPGLE. Do I have to declare/set a cursor, exec sql and close the cursor just to put the total in another file? C/EXEC SQL C+ INSERT INTO outputfile [...]
Answer Question
| September 29, 2010 2:02 PM
Embedded SQL, MySQL, RPGLE, SQL, SQL statements
I am trying to get some counts and totals from one file and put them in another. My SQL statement works fine with STRSQL, not in the RPGLE. Do I have to declare/set a cursor, exec sql and close the cursor just to put the total in another file? C/EXEC SQL C+ INSERT INTO outputfile [...]
How to run 32 bit application to 64 bit server
Is it possible to run 32 bit application on windows 2008 R2 server of 64 bit. If yes how??? Please mail me at v_ivek@rediffmail.com
Answer Question
| October 2, 2010 5:09 AM
32-bit, Application Compatibility, Windows Server 2008, Windows Server 2008 64-bit, Windows Server 2008 R2
Is it possible to run 32 bit application on windows 2008 R2 server of 64 bit. If yes how??? Please mail me at v_ivek@rediffmail.com
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
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
Is there an AS400 command to extract user profile information for production environment only?
I need a user profile list for as400 user in the production environment. THe DSPUSRPRF provided me all users for all environments (production, test, training). How can I only get users in the production environment?
Answer Question
| September 28, 2010 3:51 AM
AS/400 command functions, AS/400 commands, AS/400 user profiles, DSPUSRPRF, User Profile Name
I need a user profile list for as400 user in the production environment. THe DSPUSRPRF provided me all users for all environments (production, test, training). How can I only get users in the production environment?





