I am running an ICETOOL to find the length of records on a VSAM file. I actually just need the records that are at 625, I couldnt find out how to do that so I tried this way, which isnt working for me either.
SORTIN is a VSAM data set defined as a VB 625.
If you process the VSAM records as TYPE V, DFSORT will add a 4-byte RDW at the beginning of the record before it processes it. Since you didn't specify VSAMTYPE(V), I suspect DFSORT is processing your records as F, not V, so VLEN didn't give you what you want. Try adding VSAMTYPE(F) to your DISPLAY operator. However, you'll get length+4 because of the added RDW.
However, if you just want to find the VSAM records that have a length of 625, I believe a DFSORT job like this will do it (note that I added 4 for the RDW that DFSORT adds):