we hav job which is running as batch. it takes atleast
06hours to complete tht job. bu i wana do tht job with in
3hours.........?
so plz post ur answers
Answers were Sorted based on User's Feedback
Answer / malleswarao
Hi! we have to create multiple threads in the job. when we
submit the job ,multiple threads will run parallelly. so it
will take very less time to complete the job. This is the
best way I believe.
Please let me know if there are any suggestions.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / nagaraju
We need to change the job priority of the job.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / murali
instead of RPG, go with Query RPG to reduce the no of hits
on file, it will reduce the time while working with bulk
data.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prem
If the file having BULK data use the file level Keywork
BLOK(*YES)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / alagan v
It depends on your logic. You have to use the proper LF's in order to run the program fast. For example, if you read a transaction file for a period, it will take long time. So better create a LF with transaction date as key and sort by date and read it. This will help you to reduce the run time.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kranti
I think priority of the Job is one more option.. But it again depends on the priority of the existing job..
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / raj
1. DSPJOBLOG
2. DSPJOB, check if there has any lock waiting statue.
3. STRSRVJOB and debug.
| Is This Answer Correct ? | 1 Yes | 2 No |
Can we create 300 logical files based on a single physical file using the CRTLF command only once?.
steps involved in debugging and types of debugging modes?
where we give the MSGSFL in rpg400?
Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20
Difference between RESET and CLEAR
how can you display specific subfile page on the screen in unequal subfile?
Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
what is the difference between do while and do until?
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
RETRIVING DELETED RECORDS :- I'm frequently asked how to retrieve deleted records from an unjournaled physical file when the deleted records have not yet been removed from the file. Utility UNDEL lets you undelete records in a physical file. This public domain program is available in CISC and RISC versions, and the complete source code is available for download at: UNDEL for AS/400 Save File (RISC): http://www.as400network.com/sharewarefiles/undelris.zip UNDEL for AS/400 Save File (CISC): http://www.as400network.com/sharewarefiles/undel.zip UNDEL for AS/400 Save File (Source code): http://www.as400network.com/sharewarefiles/undelsrc.zip The utility takes advantage of the fact that deleted records in physical files are only flagged as deleted, and the record data still exists until it is overwritten or the file is reorganized with a utility such as RGZPFM. UNDEL simply reads the deleted record, then reuses the record by writing over it with the new record (thus eliminating the flag for the deleted record). Some homegrown and commercial utilities copy the file containing undeleted records to a save file, then use a program to read the save file, which contains live and undeleted records, to a file to undelete the records. The UNDEL utility is superior to the SAVF technique because there's no need to copy the file to a save file, which is especially important for really large files. When run, UNDEL displays the physical file records in their unformatted, raw text form. You can either position the display to a given relative record number or use F19 or F20 to find the previous and next deleted record, respectively. The utility also includes online help, which is almost unheard of for free utilities. Other utilities include the ability to undelete records. You can use the RTVDLTRCD command in the old QUSRTOOL (no longer supported by IBM). QUSRTOOL is now a commercial product called TAA Productivity Tools ( http://www.taatool.com ). The free file editor WRKDBF has a built-in undelete capability ( http://www.wrkdbf.com ), and several commercial file editors can undelete records. For a complete list of file editors, go to http://www.sourcebook400.com, select "Programmer Tools" under "Product Category," then select "File Editors."
I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this