There are two large tape volume list files, master and transaction files,
and key is volume serial(VOLSER).
No duplicate VOLSER is in the files (master as well as transaction).
I have to check whether all volumes in the master is processed or not by
the transaction file.
If there is no transaction volumes in the master files, I have to generate
control statements to process the volume.
In this situation, I want to set zero-return code to indicate additional
process is required.
If all volumes in the master file are processed, I want to set zero return
code.
I already have made a DFSORT JOINKEY job to do this process.
Only things I want to do is return code setting such as
  RC=0 (No SORTOUT Record): No need additional process
  RC=8,12,16 (Non-zero SORTOUT records): Need additional process

Above is what I like to do in DFSORT.

Regards,

Minoru Massaki - (M*M)



2017-04-16 0:08 GMT+09:00 Lizette Koehler <[email protected]>:

> What problem are you trying to solve by doing this?
>
> Lizette
>
>
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:[email protected]] On
> > Behalf Of Minoru Massaki
> > Sent: Saturday, April 15, 2017 8:03 AM
> > To: [email protected]
> > Subject: How can I set Non-zero return code in DFSORT when SORTOUT record
> > count is not zero
> >
> > Hello
> >
> > I'm looking for a way to set Non-zero return code in DFSORT, when record
> count
> > of SORTOUT is not zero.
> >
> > I know that setting non-zero return code when SORTOUT record count is
> zero.
> >
> > Your help would be highly appreciated.
> >
> > --
> >
> > 全先 実  -  Minoru Massaki  (M*M)
> > E-mail: [email protected]
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 

全先 実  -  Minoru Massaki  (M*M)
E-mail: [email protected]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to