× 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: Batch Vs Interactive
  • From: Brian Johnson <brian@xxxxxxxxxxxxxxx>
  • Date: Wed, 5 Aug 98 11:17:00 -0500
  • >Received: from Connect2 Message Router by helps.helpsystems.com via Connect2-UUCP v1.10; Wed, 5 Aug 98 10:58:35 -0500
  • Organization: HELP/Systems


Another option to consider; write a command.  Use your new command to   
invoke CL2 instead of the CALL command.  For example, your submit command   
could look like this:

SBMJOB CMD(CL2 APP(&APP) DAY(&DAY) LOG(&LOG))

Your new command (CL2) defines the format of the parameters, so you don't   
get the default field sizes as you do with CALL.

 -----Original Message-----
From: VENU YAMAJALA
Sent: Tuesday, August 04, 1998 16:08
To: brian; 'mail@uucp <MIDRANGE-L@midrange.com>'
Subject: Batch Vs Interactive

Hi All,

 I am facing a peculiar problem. I have a CL pgm that submits another CL
in batch. The CL2 then calls an RPGLE program. In my CL1 pgm, I am   
calling CL2
in batch by sending some parameters as

SBMJOB    CMD(Call CL2  Parm(&App  &Day   &Log))

&App is a character 5 field
&Day is 5, 0 packed whose value is 0
&Log is 9,0 packed whose value should be 1.

 The SBMJOB is calling the CL2 pgm with proper values to all the
parameters. The CL2 then is simply calling RPGLE. In RPGLE, I have   
*INZSR. I
defined the fields as exactly same as CL attrbutes. DayFld as 5,0 packed   
and
LogFld as 9,0 packed. But I am getting a Decimal Data Error in *INZSR.   
When I

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