Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

1)In a pf if we delete a record then how to insert a new
record at the same place in that pf?? any logic or code?
2)A batch job is taking a lot of time to run,found that it
is going into loop and wrapping up so how to skip that loop
and process the job without changing the code?
3)In which scenario C D I R comes and C D G F comes in a
job?
4)If a job came to error while processing a file how we can
know at which record the error hit and how to skip that
record and process other records without changing program
code?

Answer Posted / sreenadh

1.post deletion of existing record you have to call QCMDEXC api to run a cl command i.e, RGZPFM then insert the record again
2.you have to fail the looping condition manually in batch debug mode using EVAL then came out from debug
4.Take opt 5 after WRKACTJOB againts the job than opt 14 (work with opened files)+f11 to get RRN value where it stuck currently and whats the file name too
Now go to sql fix the junk data and retry the job again

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can I give more performance to some selected pages?

995


how you will know whether you are in sfldrop or sflfold mode?

1015


what is the maximum number of subfiles that can specified in a display file ?

1709


Difference Between Interactive & Batch Job?

1190


In RPG How to read a records from a file without using read opcodes?

1486


can we define multi-dimensional arrays in rpg ?

1558


when would you prefer logical file than opnqryf?

2351


what is cab?

1117


which of the cl command can be used to determine which logical files are dependent on a specific file?

1049


A join logical file has how many record formats?

1078


when should I use method get, and when should I use method post in my cgis?

1083


What is a query can be displayed without saving it?

1060


what is the purpose of the indara keyword?

1697


what is the function of crtdupobj command?

1987


What is diff between EVAL & MOVE?

1500