what is batch debug in as400?

Answers were Sorted based on User's Feedback



what is batch debug in as400?..

Answer / naresh

Batch debug means debugging the program by putting job in
service by using STRSRVJOB command after that we debug the
program as usual.Once debug is done we need to end the
service job using ENDSRVJOB command.

please correct me if i made any wrong statement.

Is This Answer Correct ?    9 Yes 1 No

what is batch debug in as400?..

Answer / shishir

batch job means running job in background to save the time.so user are not able to make the interaction with batch job.suppose there in and issue occured or error occured in job of batch .now you have to find the error but how as that job is running in batch and we are not able to make intercation with that job in batch so what we do . we remotly access that batch job through strsrvjob command .when we remotly access that job than it will convert into interactive job .after making it interactive job we can debug that job and find the error.
i short we have to make batch job to interactive job for solving the error or to debug the program.

please correct me if i m wrong .

Is This Answer Correct ?    5 Yes 0 No

what is batch debug in as400?..

Answer / sandy

Using your interactive screen to debug a batch job submitted to the job queue allows you to put the batch job into debug mode and to set breakpoints without having to change the program to run interactively.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

Can an indexed file be accessed in arrival sequence in RPG?

3 Answers  


What is the Record Address file. How can we use it in RPG program?

4 Answers  


can we use cl programming to update or delete physical files

12 Answers  


1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword

1 Answers   CSC, CTS,


Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

0 Answers   TCS,






How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...

1 Answers  


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

0 Answers   IBM,


steps involved in debugging and types of debugging modes?

1 Answers  


what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?

4 Answers  


Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?

3 Answers   Steria,


what is file information data structure?

1 Answers   IBM,


i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.

11 Answers   IBM,


Categories