× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



[ Converted text/html to text/plain ]

Hi Mike,

You wrote:

>My preferred methodology would be to write to a work file in your data

>library which has a primary key of job number. You write all the records

>for the interactive job with its job number, then when you submit the batch

>job, you pass the job number for the interactive job as a parameter, then

>in the batch program only reads records for the passed job number. If more

>than one job could be submitted from the interactive session for this

>process, then you will need to have another unique identifier other than

>just the job, but the principle remains the same.

I adopted your suggested methodology to write a workfile in data library which
has a primary key of job number. You had also suggested that if more than one
job was to be submitted from the same interactive session for this process,
then another unique identifier other than the job number, would be essential.
I need to know which will be the other best unique identifier.

Please advise, your suggestions have helped me see brighter days :-).



Thanks & Regards,

Hrishikesh Kotwal

>From: Mike.Collins@syan.co.uk
>Reply-To: rpg400-l@midrange.com
>To: rpg400-l@midrange.com
>Subject: Re: Problem with SBMJOB (RPG III)
>Date: Mon, 12 Nov 2001 13:58:53 +0000
>
>
>My preferred methodology would be to write to a work file in your data
>library which has a primary key of job number. You write all the records
>for the interactive job with its job number, then when you submit the batch
>job, you pass the job number for the interactive job as a parameter, then
>in the batch program only reads records for the passed job number. If more
>than one job could be submitted from the interactive session for this
>process, then you will need to have another unique identifier other than
>just the job, but the principle remains the same.
>
>Mike
>
>_______________________________________________
>This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
>To post a message email: RPG400-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
>or email: RPG400-L-request@midrange.com
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/rpg400-l.
>

------------------------------------------------------------------------------
MSN Photos is the easiest way to share and print your photos: Click Here[1]

===References:===
  1. http://go.msn.com/bql/hmtag3_etl_EN.asp



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.