I have a scenario where in i have to extarct max of one column and pass it to a variable.
i have tried to export the result as .dat file and read from that file.But my database is mainframe and it is not permitting me to export in .dat file.I have tried using .ixf file but reading from that file is little difficult.
So can anyone suggest some solution to assinn the result of query like
"select max(a) from b" to a variable.