AS/400 batch jobs

620 pts.
Tags:
AS/400
AS/400 batch job
  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 which record the error hit and how to skip that record and process other records without changing program code?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

The first anwer is easy more or less….

The physical filwe has an argument that can chooese  REUSEDLT *YES.

With this option,  there is not holes into the file, but you can´t insert a new record where you want, by default all the holes are reused.

I hope that it serves you.

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • philpl1jb

    So many questions..are these interview questions?

    54,090 pointsBadges:
    report
  • chowas400
    yes, plz help me...
    620 pointsBadges:
    report
  • philpl1jb

    Give us your thoughts on one of these questions and we will guide you to the best references.

    54,090 pointsBadges:
    report
  • ToddN2000
    There could be multiple solutions or no solution at all. You need more detailed info on the problem question to make a correct analysis. Some jobs can error out with no other options than to cancel or dump.
    135,305 pointsBadges:
    report
  • philpl1jb

    Todd

    That's the way these interview questions are.

    Phil

    54,090 pointsBadges:
    report
  • ToddN2000
    Been a long time since my last interview. Maybe I should go on a few just to brush up. Interviewees shouldn't take it personal. Some of these things are learned after being in the field. Schooling can teach a lot of things, but real life problems just are not covered enough in the classroom.
    135,305 pointsBadges:
    report
  • philpl1jb

    I can't say anything good about technical questions in interviews.

    The questions above are a good/bad example.

    54,090 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: