Skip to main content

z/VSE Jcl with SORT

  • October 9, 2013
  • 1 reply
  • 0 views

Hello,

I am trying to execute a z/VSE jcl in microfocus ES but keep getting the error listed below.

I have followed the steps to make sure that the config file of z/VSE is setup before execution.

Can you help me where am i going wrong ?

* *******************************************************************
* STEP 01       SORT                                                *
* *******************************************************************
// DLBL SORTIN,'TEST.FILE1',,VSAM,CAT=TCT1,                               X
               DISP=(OLD,KEEP,KEEP)             
// DLBL SORTOUT,'TEST.OUT',,VSAM,CAT=TCT1,                             X
               DISP=(NEW,KEEP)
// EXEC SORT,SIZE=256K       
  SORT FIELDS=(7,8,A,15,2,A),FORMAT=CH
  INCLUDE COND=(1,1,CH,EQ,C'Y')                                                             
  RECORD LENGTH=120,TYPE=F                                                                  
/*

Error

          Micro Focus MFJSORT Utility 3.0.00                                                                                        
                                                                                                                                    
            SORT FIELDS=(7,8,A,15,2,A),FORMAT=CH                                                                                    
SORT219E: No SORTIN specified                                                                                                       
            INCLUDE COND=(1,1,CH,EQ,C'Y')                                                                                           
            RECORD LENGTH=120,TYPE=F                                                                                                
                                                                                                                                    
SORT015U: Command statement error(s) detected 
  


#zVSEsort
#EnterpriseServer

1 reply

  • Author
  • Rocketeer
  • 19312 replies
  • September 1, 2017

Hello,

I am trying to execute a z/VSE jcl in microfocus ES but keep getting the error listed below.

I have followed the steps to make sure that the config file of z/VSE is setup before execution.

Can you help me where am i going wrong ?

* *******************************************************************
* STEP 01       SORT                                                *
* *******************************************************************
// DLBL SORTIN,'TEST.FILE1',,VSAM,CAT=TCT1,                               X
               DISP=(OLD,KEEP,KEEP)             
// DLBL SORTOUT,'TEST.OUT',,VSAM,CAT=TCT1,                             X
               DISP=(NEW,KEEP)
// EXEC SORT,SIZE=256K       
  SORT FIELDS=(7,8,A,15,2,A),FORMAT=CH
  INCLUDE COND=(1,1,CH,EQ,C'Y')                                                             
  RECORD LENGTH=120,TYPE=F                                                                  
/*

Error

          Micro Focus MFJSORT Utility 3.0.00                                                                                        
                                                                                                                                    
            SORT FIELDS=(7,8,A,15,2,A),FORMAT=CH                                                                                    
SORT219E: No SORTIN specified                                                                                                       
            INCLUDE COND=(1,1,CH,EQ,C'Y')                                                                                           
            RECORD LENGTH=120,TYPE=F                                                                                                
                                                                                                                                    
SORT015U: Command statement error(s) detected 
  


#zVSEsort
#EnterpriseServer
It's important to create file in CATALOG and in directory of File .dat file. .Dat file can be created with Data Tools application.