Google for the Api I had given..you will get the code for the same … anu
Create a user space with module “CrtUsrSpc” (source has been included below).
Run API “QUSLJOB” to return information of iSeries job. use any format name “JOBL0200″ to retrieve “job status” and “subsystem”. Job status has “key of field = 0101″ and subsystem “key of field = 1906″.
Run API “QUSRTVUS” to get user space attribute
- starting position of information
- number of entries (number of jobs)
Run a loop to retrieve information on all jobs that have been loaded in the user space — one loop for one job.
First, run API “QUSRTVUS” to retrieve information about one job. This information has been retrieved in data area “.
Second, retrieve “key fields” in and loop.
Key field 0101 = job status
Key field 1906 = subsystem
Third, if the job has status *MSGW and e-mail is sent to an Administrator.
crtrpgmod module(yourlib/crtusrspc) = create user space (source included in prior mail)
crtrpgmod module(yourlib/nkvr4292) = mail program
crtpgm pgm(yourlib/nkvr4292) module(yourlib/nkvr4292 yourlib/crtusrspc) actgrp(nkv)
No problem asking the questions.
Yes, you will need to wait untile the subsystem is down to make the changed.
But depending on the size of this file, you could start the other process of using SQL DELETE and then CPYF wiht *ADD, right now.
You would need watch disk space and then in addition to do the CHGPF command later, you would also want to do a CLRPFM or RGZPFM command because you have a largeer number of deleted records in the fiel.
When that happens it is because 1 or more of the objects in that library was locked.
If you look throught the joblog, you will be able to find out what object(s) did not get saved.
Hi Tom,
We have logged a call with IBM, They helped us to resolve this printer issues.
We updated our form plus firmware, Then our problem got resolved.
Thanks for your help.
With Regards,
Venkata Krishna
I wrote a series of articles, starting with Module, Module, Who’s Got My Module located at http://www.mcpressonline.com/programming/apis/the-api-corner-module-module-whos-got-my-module.html, almost five year ago now, which provides this capability. The full series is:
http://www.mcpressonline.com/programming/apis/the-api-corner-module-module-whos-got-my-module.html
http://www.mcpressonline.com/programming/apis/the-api-corner-finding-modules-in-a-srvpgm.html
http://www.mcpressonline.com/programming/apis/the-api-corner-finding-all-*srvpgms-on-the-system.html
http://www.mcpressonline.com/programming/apis/the-api-corner-take-advantage-of-open-list-apis.html
http://www.mcpressonline.com/programming/apis/the-api-corner-finding-modules-in-a-pgm.html
http://www.mcpressonline.com/programming/apis/the-api-corner-parallelism-with-open-list-apis.html
Else we need to wait until..the subsystem is down
Charlie.. The thing is that we cant bring down the other job..as it is a highly critical job. Do we have any other way..to do this..
Sorry if I’m asking too much..
No, you cannot do a CHGPF on a locked object.
You would have to end the other job and and any other jobs using the file, then make the change and start the other job again.
And is it possible to do a CHGPF on a locked file …this file is locked 24×7!!!
But one more issue…to change the PF attribute, we need to do CHGPF after that right?
Thanks a lot!
Will confirm once this is accepted by our team…thanks a lot again
And what about BYOD- Bring your own device..
Hot debates are going on this topic.. which includes all your smart devices..
will give you a wide angle to check with
It depends Micheal.
Being able to use personal devices to work on professional tasks is a big step forward in integrating people’s working and personal lives: having that flexibility can greatly improve employee satisfaction and retention.
but it is different while you use it in school..
Keeping under the desk :p..
it really depends on the external factors
The security audit journal is the primary source of auditing information on the system. A security auditor inside or outside your organization can use the auditing function provided by the system to gather information about security-related events that occur on the system.
different types are :
System-wide auditing that occurs for all users.
Auditing that occurs for specific objects.
Auditing that occurs for specific users.
whats your requirement
We do not do homework, but if you show us what you havew done we ask a sppecific question, we may be able to assist you.
got that much space in iphone .. just kidding.. use itunes
How about: information security and human reasoning. Reasoning/justifying/excusing failure in advance (saying we’ll “try”) are the greatest contributors to security problems and the biggest things holding us back. Would make for some intriguing research and discussion. Oh, and send me a copy when you’re done.
Would love to read it.
This seems like a homework question.







