STARBAT utility in JCL



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

STARBAT utility in JCL

Postby Swapnilkumar » Wed Oct 24, 2012 11:23 am

No description for this utility on Google!! :mrgreen:



Wanna know more on this then,
Please follow the link link to competitor site removed. Thank you Anuj for your comments :arrow: :-) and I would like to illustate with some examples mentioned below.

//STEP15   EXEC  PGM=STARBAT   
//DD01     DD  *               
----+----1----+----2----+----3--
ASDADSADADASDASDADSADSADA       
ASDADSADAAASDASDADSADSADA       
ASDADSADABASDASDADSADSADA       
ASDADSADAAASDASDADSADSADA       
ASDADSADAAASDASDADSADSADA       
ASDADSADAAASDASDADSADSADA       
//DD01O    DD  SYSOUT=*         
//SYSLIST  DD SYSOUT=*         
//SYSPRINT DD SYSOUT=*         
//SYSTOTAL DD SYSOUT=*         
//SYSIN    DD *                 
DD01  COPYREC IF=(10,EQ,C'B')   
/*                             
This is like "Include Cond" in SORT
//STEP10   EXEC  PGM=STARBAT                                       
//DD01     DD SYSOUT=input data                                           
//DD01O    DD SYSOUT=*                                             
//DD02O    DD SYSOUT=*                                             
//DD03O    DD SYSOUT=*                                             
//DD04O    DD SYSOUT=*                                             
//DD05O    DD SYSOUT=*                                             
//DD06O    DD SYSOUT=*                                             
//SYSLIST  DD SYSOUT=*                                             
//SYSPRINT DD SYSOUT=*                                             
//SYSTOTAL DD SYSOUT=*                                             
//SYSIN    DD *                                                   
DD01  MULTICOPY IF=(157,EQ,C'31,32,33,34,35,36,37,38,77,50'),     
                    WRITE=DD01O,                                   
    IF=(157,EQ,C'30'),WRITE=DD02O,                                 
    IF=(157,EQ,C'52,54,55,56,72,81'),WRITE=DD03O,                 
    IF=(157,EQ,C'00'),WRITE=DD04O,                                 
    IF=(157,EQ,C'04'),WRITE=DD05O,                                 
    IF=(157,NE,                                                   
    C'31,32,33,34,35,36,37,38,77,50,30,52,54,55,56,72,81,00,04'), 
       WRITE=DD06O                                                 
/*                                                                 
This code is similar to FNAMES keyword. And C'' will work in OR condition for the events.
DD01  COPYREC IF=(32,GE,X'F0F0F0F0F0F0F0F0F2F5F0F0F0C0'),
             AND=(32,LT,X'F0F0F0F0F0F0F0F1F0F0F0F0F0C0')
like wise this, we can code STARBAT for hex comparision and normal comparisions (GT,LE,GE, EQ etc) too.

I have also not worked much on this, following are my assumptions.
1) Changeman should be installled on your system.
2) The DD names used are prefixed with DD0

Please share across if you know more on this.
____________________________________________
Regards,
- Swapnilkumar.
Swapnilkumar
 
Posts: 12
Joined: Tue Aug 07, 2012 10:05 pm
Location: Pune, India
Has thanked: 0 time
Been thanked: 0 time

Re: STARBAT utility in JCL

 

Re: STARBAT utility in JCL

Postby BillyBoyo » Wed Oct 24, 2012 11:59 am

Please don't post links to competitor sites.

Do you have StarTool? If so, the documentation should be available to you.

I have no direct idea, but I doubt that your assumptions are correct. There would be no need for a product from one vendor to rely on the availability of another. A DD-name is clearly present in the control card, I'd suspect if you change it to something else and change the JCL then it would run.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post