× 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.


  • Subject: Re: WRKSBMJOB, option 8 failing, V4R4, CUM=99230
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 29 Oct 99 07:38:25 +1000


Hello Rob,

That is normal behaviour.

A job on a job queue cannot possibly have spooled OUTPUT files but it can have 
spooled INPUT files.  These are commonly called inline data files because the 
data is INLINE in 
the job stream.  Anyone else remember the Submit Database Job (SBMDBJOB) 
command?  Here is an 
example.  Type the following into a source member -- type should be CL, not CLP 
(don't worry 
about SEU telling you the command is not allowed);

//BCHJOB  JOB(MYJOB)
CRTCLPGM PGM(DELETEME) SRCFILE(QINLINE)
//DATA FILETYPE(*SRC)
PGM
ENDPGM
//
//ENDBCHJOB

Then HOLD one of your job queues and use SBMDBJOB to spool the job via the 
reader using the job 
queue you held.  You could also specify a job description that has HOLD(*YES) 
defined.  Use 
WRKSBMJOB and take 8=Spooled files.  You should see something like:

                         Display Job Inline Data Files                     
                                                                           
 Job  . . . . . . . . :   MYJOB           Job queue  . . . . . :   QBATCH  
   User . . . . . . . :     QPGMR           Library  . . . . . :     QGPL  
   Number . . . . . . :     129174                                         
                                                                           
 File           Records                                                    
 QINLINE              2                                                    

There will be one list entry for every //DATA statement in the CL source.  You 
will only see 
this display while the job is on the job queue.  Once it becomes active, the 
inline files have 
been processed and the display shows spooled output files.

Remember to release the job queue when you're done.

Hmm, I guess that really does qualify me as a geezer.  Why does the system work 
this way?  
Well, that's a story for another time.

Regards,
Simon Coulter.

«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
«» FlyByNight Software         AS/400 Technical Specialists       «»
«» Eclipse the competition - run your business on an IBM AS/400.  «»
«»                                                                «»
«» Phone: +61 3 9419 0175      Mobile: +61 0411 091 400           «»
«» Fax:   +61 3 9419 0175      mailto: shc@flybynight.com.au      «»
«»                                                                «»
«» Windoze should not be open at Warp speed.                      «»
«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
//--- forwarded letter -------------------------------------------------------
> X-Mailer: Worldtalk (NetTalk for Windows NT 4.5-g5)/MIME
> Date: Thu, 28 Oct 1999 14:25:07 -0500
> From: "Rob Berendt" <rob@dekko.com>
> To: MIDRANGE-L@midrange.com
> Reply-To: MIDRANGE-L@midrange.com
> Subject: WRKSBMJOB, option 8 failing, V4R4, CUM=99230

> 
> Try this,
> 
> Find job queue that is held, or not assigned to a subsystem.
> 
> Submit a job to this job queue.
> 
> Do a WRKSBMJOB.
> 
> 8=Work with spooled files
> 
> The following screen will appear:
> 
>                         Display Job Inline Data Files                      
>                                                                            
> Job  . . . . . . . . :   QDFTJOBD        Job queue  . . . . . :   EDG300CJQ
>   User . . . . . . . :     ROB             Library  . . . . . :     DHTDIVO
>   Number . . . . . . :     796731                                          
>                                                                            
> File           Records                                                     
>                                                                            
>   (No inline data files)                                                   
> 
> Doesn't sound right to me.

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.