INFILE INFIL VSAM KEY=KEYVAR;
@5 NAME $CHAR12.;
PROC PRINT DATA=FILEIN;
The Mainframe batch job keep on running for ever.. I cancelled the job and added the code IF _N_ > 100 THEN STOP; then I noticed the logic is reading the same record again and again (in the output it has 100 records same).
Could you please suggest me the code to handle this situation?