Hi all,
i want to sum the values of the following data.
Data format is HTNNO mark1 mark2
//TCHN635$ JOB MSGCLASS=X,MSGLEVEL=(1,1),CLASS=B,
// REGION=5M,NOTIFY=&SYSUID,TIME=(5,0)
//STEP01 EXEC PGM=SORT
//SORTIN DD *
12346 34 35
12347 34 35
12348 34 35
12349 34 35
/*
//sortout dd sysout=*
//sysprint dd sysout=*
i need the output as , output data format :
htno m1 m2 total
12346 34 35 69
12347 34 35 69
12348 34 35 69
12349 34 35 69
and one more question is how to know which version of sort we are using ?
//TCHN635$ JOB MSGCLASS=X,MSGLEVEL=(1,1),CLASS=B,
// REGION=5M,NOTIFY=&SYSUID,TIME=(5,0)
//STEP01 EXEC PGM=SORT
//SORTIN DD *
12346 34 35
12347 34 35
12348 34 35
12349 34 35
/*
//sortout dd sysout=*
//sysprint dd sysout=*