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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

is it there an easy way to determine if an html section is available to issue a wrtsection upon?

563


what are the important factors in error message subfile ?

563


what is the favicon.ico request that my site receives now and then?

629


How to reverse a string using RPG?

687


what does vldcmdkey means?

815






what the purpose of ovrdta, ovrata keywords?

1169


what is the difference between seton lr and retrn?

1273


How can we update a specific field in RPG?

926


define a output queue?

937


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...

1911


What is the difference between non-join logical files and join logical files?

614


how to define global parameter in ile ?

629


what opcode could be used to test an alphanumeric field for all numeric values?

1069


name few ibm supplied libraries?

1212


what is subfile?

947