DBU has a built in DSPJRN function. When you prompt DBU you can tell it to display journal records for a file. Just give it the journal name and the file name and any other DSPJRN parameters. It will display the journal related fields and the database records with all of the columns nicely formatted.
Paul Therrien
Orion South, Inc.
504-374-9551
800-437-7173
ptherrien@xxxxxxxxxxxxxxx
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Stone, Joel
Sent: Friday, June 15, 2012 9:11 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: DSPJRN command to outfile
Oops - apparently DBU has some smarts and displays a journal entry as the DB fields. Didn't know that - I always thought with DBU - what you see is exactly what you have. Apparently a journal record is an exception.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jack Kingsley
Sent: Friday, June 15, 2012 8:31 AM
To: Midrange Systems Technical Discussion
Subject: Re: DSPJRN command to outfile
Maybe the outfile format that you select is doing it. Type1-5.
On Thu, Jun 14, 2012 at 3:34 PM, Stone, Joel <Joel.Stone@xxxxxxxxxx> wrote:
The last part of a DSPJRN entry record is the database record itself.
The last field is sometimes a single field containing ALL database
record fields - with no field names.
At other times when I run the command, each field from the database
record appears in the outfile as a separate field.
What controls whether I see one field with the entire record in it, vs
loading each of the DB fields into the OUTFILE?
Also, sometimes all DB fields aren't created. How do I get all the
fields created from a DB record using the DSPJOB command?
Thanks
______________________________________________________________________
This outbound email has been scanned for all viruses by the
MessageLabs Skyscan service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
________________________________________________________________________
This inbound email has been scanned for all viruses by the MessageLabs SkyScan
service.
________________________________________________________________________
______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs Skyscan service.
For more information please visit
http://www.symanteccloud.com
______________________________________________________________________