The local data area is transferred (copied) and sent with the submission of
the batch job.  I think your approach would work fine.  The LDA is limited
to 1024 bytes so you can't flood it with a ton of information. 

-----Original Message-----
From: Bullerman,Arlene [mailto:abullerman@xxxxxxxxxxxxx]
Sent: Tuesday, June 24, 2003 1:10 PM
To: COBOL Programming on the iSeries/AS400
Subject: RE: Local Data Area question


I was of the understanding that local data areas were associated with both
interactive and batch jobs.  My co-worker is certain that they are only
available with on-line programs.  

We will be receiving data in a flat file.  It was my thought that we could
write a program to flood the local data area and screen files.  (The screen
file would be how the data would be received when the program is used
interactively.)  Once the LDA and screen files are populated, we would call
the program and let it run.  If this is possible, we wouldn't have to make
heavy modifications or rewrite the current program.     



-----Original Message-----
From: Winchester Terry [mailto:terry.winchester@xxxxxxxxxxxxxxx]
Sent: Tuesday, June 24, 2003 12:59 PM
To: 'COBOL Programming on the iSeries/AS400'
Subject: RE: Local Data Area question


Do you mean reading a display file from batch?

AFAIK - No, because they have to be associated with a 
display device.

Local-Data areas can be read from interactive or batch.

OR maybe I misunderstood what your asking. 

Terry

> -----Original Message-----
> From: Bullerman,Arlene [mailto:abullerman@xxxxxxxxxxxxx] 
> Sent: Tuesday, June 24, 2003 1:52 PM
> To: COBOL400-L@xxxxxxxxxxxx
> Subject: Local Data Area question
> 
> 
> We need to modify some on-line programs so that they will run 
> as batch jobs.  Is it possible to flood the local data area 
> and the screen file with the necessary data and then call the 
> program to run in batch?    
> 
> _______________________________________________
> This is the COBOL Programming on the iSeries/AS400 
> (COBOL400-L) mailing list
> To post a message email: COBOL400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
> or email: COBOL400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/cobol400-l.
> 
_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.


_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.