Hi, i am new to mainframe and need to write a JCL that will sort data ( i can do that part) and write the output to a sequential dataset(part i can't do)
below is my code so far, this can write the output to a partioned dataset but not to a sequential
//MYJCL2 JOB 1,NOTIFY=&SYSUID
//SORT EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=&SYSUID..LABS.JCL(AREACODE),DISP=SHR
//SORTOUT DD DSN=&SYSUID..CW.DATA1(AREACODE),DISP=SHR
SORT FIELDS=(5,17,CH,D)
any help will be much appreciated
Thank You