Operation not allowed in a job running multiple threads from SQL RPGLE

Hi, I am running SQLRPGLE on V7R1. The program takes entries from file and emails. The program on high level does following steps……….: 1. Fetch Record from File, ………… 2. Convert Spool file to PDF and puts into IFS, into Root/Folder1, ……… 3. Copies PDF file from Root/Folder1 to QDLS/Folder1 using command CPY, ……. 4.…



Answer Question   |  November 13, 2012  7:32 PM
AS/400, iSeries, RPG, RPGLE
asked by:
290 pts.

Print job looks like green bar and really light!

We have a print job that is created using a print file and it works great but only when printing it manually. When the job is run from batch using QSYSOPR as the user the page looks like green bar paper and for some reason it also prints very light.



Answer Question   |  November 13, 2012  6:23 PM
AS400 iseries, QSYSOPR
asked by:
5 pts.

Is there a way to tell how an RPG program was compiled

We have come across some vendor supplied RPG programs that have been compiled with the FIXNBR option set to *INPUTPACKED. We would like to know if there is a way to display how a program was compiled and to see all of the options selected for it. Thanks.



Answer Question   |  November 13, 2012  5:00 PM
RPG, RPG Programs
asked by:
5 pts.

Modify Hexadecimal Flat File in AS/400

Hi, I am working on a project, but have got stuck and I need expert advice. I received a flat file from another system (probably a Windows system) in AS/400. The flat file contains the data separated with hexadecimal (x’05′) . The file I am receiving is through connect direct. My requirement is to modify…



Answer Question   |  November 12, 2012  10:12 PM
AS/400, Flat file in AS/400
asked by:
10 pts.

How can I open file from another library in RPG program

Hi, my requirement is how can I open a file from another library in RPG program … noted that I have tried to use keyword : EXTFILE(LIBRARY _Nam / FILE_Nam) but it doesn’t work. Please advise. Thanks! Tarek yaseen



Answer Question   |  November 14, 2012  3:17 AM
RPG, RPG Programs
260 pts.

User profile

Who is the objective of the user QHOD and QLAFD in AS400, and these user must have authority *ALLOBJ



Answer Question   |  November 9, 2012  8:31 PM
*ALLOBJ, AS/400
asked by:
5 pts.

2- partitions, 2-system names

Can we have two logical partitions with the same system name? What are the pros and cons of having a different system name(s) for each partition?



Answer Question   |  November 7, 2012  9:49 PM
iSeries
asked by:
10 pts.

Alternative name of Physical file

How to rename an alternative name(long name) in a physical file using sql or any other method.(Alternative name if present can be found using DSPFD) . No source is available for this physical file and only object is available.



Answer Question   |  November 7, 2012  5:11 PM
AS 400, DB2/400, Physical File
asked by:
70 pts.

AS/400 FTP server won’t start

After a savsys restore due to a disk crash, the FTP server won’t start. Following is the joblog entry : Message . . . . : Exception CPF3CDB occurred when trying to get information for exit point QIBM_QTMF_SERVER_REQ with format name VLRQ0100. Cause . . . . . : The QusRetrieveExitInformation API returned an exception…



Answer Question   |  November 7, 2012  3:52 PM
AS/400, AS/400 FTP
asked by:
11,390 pts.

How to map HTML page with AS400

I have an HTML page with NAME field. When user enter the in the page and click on the submit it should go in the PF file and add the record in the PF. Is it possible that we can map the HTML pages with AS400. Please give some link or code where I can…



Answer Question   |  November 27, 2012  12:11 PM
AS/400
asked by:
670 pts.

QSECURITY 40

Hi All, If I was on QSecurity 30 and shifted the operations to QSecurity 40, knowing that my collected audits collections (logs from QAUDLVL) are ok and passed all possible program failures. Now during operations problems occured. Boom! Can I immediately revert back to QSECURITY 30 and continue my operations? What will happen to my…



Answer Question   |  November 7, 2012  9:28 AM
iSeries AS/400
asked by:
215 pts.

How do you display user profile authority and object access

Hi all, I would like to know if there is a command to check the private authority of a user profile over all objects inside the iSeries. Thank you



Answer Question   |  November 7, 2012  9:18 AM
iSeries, iSeries AS/400, iSeries 820
asked by:
215 pts.

How can I force field exit

Ever since we upgraded the 400 to version 6.1, I have a problem with my numeric fields. It does not appear that the Check(FE) works with the keyboard shift attribute of an ‘S” We use the ‘S’ so the employee’s do not have to enter the decimal point. If a field was entered as ________245…



Answer Question   |  November 7, 2012  7:33 PM
OS/400, OS/400 fields
asked by:
11,390 pts.

SQL coding in RPGLE Free format

How can I improve the coding of this SQLRPGLE program? 0030.00 d MoreRows s 1a 0032.00 d recn s 7 0 0033.00 d pyam s 11 2 0036.00 d 0037.00 d Seq# s 9 0 0038.00 d sds 0039.00 d usid 254 263 0046.00 /Free 0048.00 Exec sql 0049.00 declare c1 cursor 0050.00 for select…



Answer Question   |  November 6, 2012  3:57 PM
AS/400
asked by:
85 pts.

SQL 9010 Error after abend on submitted file copy due to incorrect trigger

I did RSTOBJ from a production library to a test library using and created a trigger that I did not realize existed. The next copy I tried to do to the test file that had this incorrect trigger over it caused the copy job to lock up with many “Access Plan not Updated” errors since…



Answer Question   |  November 6, 2012  10:17 PM
iSeries v7r1, RSTOBJ
asked by:
11,390 pts.

Problem while writing data in a text file

I am trying to write data from one stream file to a text file. Stream file is a big file of 5000 pages and i am generating 5 text files with 1000 pages . Now when i write first 1000 pages to file1.txt it writes perfectly well . Now when 1000 pages are reached i…



Answer Question   |  November 5, 2012  3:58 PM
AS/400, AS/400 Text File
asked by:
420 pts.

xxVLLSP – COndition list :SYNON

Hi, Does any one know How to 1) add a condition to Synon defaul condiotion list .. 2)And how to Promote this condition list (xxVLLSR ) to Production Box.. we are using – MKS Chain Managmnt tool.. Regards Adi



Answer Question   |  November 5, 2012  2:41 PM
AS/400, Synon
asked by:
10 pts.

Submitting the same Job from multiple users to a single threaded jobq. Output from one job going to another jobs printer?

We have a Work Order Create program that gets invoked by multiple users multiple times throughout the day. The jobs are submitted to a jobq that is single threaded. Within the calling CL there is a SBMJOB of a secondary job that also gets submitted to the same single threaded jobq. The problem is somehow…



Answer Question   |  November 5, 2012  10:18 PM
AS/400, JOBQ, OVRPRTF, SBMJOB
asked by:
10 pts.

Help with CL to answer MSGW on printer WTR

I have been out of programming for a few years, and am pretty rusty. We run a system that the end users have no command line access. Their printers have occasion to go into MSGW status (ie out of paper, etc.). They then have to call to get support to answer the MSGW on the…



Answer Question   |  November 1, 2012  12:52 PM
*SPLCTL, CL, MSGW
asked by:
11,390 pts.

AS/400 model 9402 won’t power on

Our company has an AS/400 model 9402 that was manually shutdown due to an extreme storm. We cannot turn the system back on. The system attention light is lit and system will not power on. Any help would be GREATLY appreciated.



Answer Question   |  October 31, 2012  8:53 PM
AS/400, AS/400 system administration
asked by:
11,390 pts.