What are the steps to retrieve the records from Journal
file...?



What are the steps to retrieve the records from Journal file...?..

Answer / abhishek

Use DSPJRN command.

If you want to retrieve the records in program then use:
DSPJRN JRN(MYLIB/JRNFILE)
FILE((MYLIB/MYFILE))
OUTPUT(*OUTFILE) OUTFILFMT(*TYPE5)
OUTFILE
(QTEMP/TEMPFILE)

TYPE5 will retrieve detailed information.

Is This Answer Correct ?    12 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

list some of the commonly used commands for debugging?

1 Answers   IBM,


I/o error detected,Record Out of sequence,Permanent I/o error occured....I mean give one eg for these errors...i understand only,update/delete operation without prior read oprn..give details of remaining

1 Answers   CTS,


Can anyone answer me when we will go for LF without key fields

4 Answers   HCL,


write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")

6 Answers   Bally Technologies, Cognizant, Vertex,


what is the correct about QTEMP library(below mention)? a.it is Unique to a job b.it can be shared between different job c.it can only be deleted by QSECOFR d.Non Please give me the answer for this?

8 Answers   Wipro,






what are the important factors in error message subfile ?

0 Answers   IBM,


What is the Select and Omit criteria in logical file?

1 Answers  


why do we use readc? What is sflnxtchg?

0 Answers   IBM,


Pgm A is invoked through HTTP. It is in Activtion group QILE. Pgm A calls Pgm B and Pgm C. Pgm B is in activation group TEMPACTGRP. Pgm A ends in error. Pgm A is called again. But it gives an error that TEMPACTGRP still exists and files are present in QTEMP. What is the cause and how will u fix?

1 Answers  


What is the difference between physical file and logical file?

0 Answers  


What is the purpose of 'CPYTOIMPF' command?

6 Answers   Aditya Birla, Redington,


What Is The Object Type Of Pf, Lf, Printer File & Display File?

0 Answers   IBM,


Categories