FMT

Posted onJune 4, 2013

Here’s a simple list but it also shows how you can dictate the column width using FMT, 30 is the column width which is always followed by #, T forces the output to text. Text is always left justified.

LIST DICT RMIM D/CODE A/AMC V/CONV FMT”15#T”  V/CORR FMT”30#T”  V/TYPE V/MAX WITH D/CODE “A]” “X]” “U]” “S]” “D]” “V]” “I]” “M]” “PH]” BY A/AMC BY D/CODE

You can also use “R#2” which is right justified in a field two characters wide and “L#2″ which is left justified in a field two characters wide. You can substitute the 2 with any number. R and L works best with numeric fields. You can use it with any attribute type but the output isn’t reliable.

LIST DICT RMIM D/CODE A/AMC FMT”R#2″ V/CONV FMT”15#T”  V/CORR FMT”30#T”  V/TYPE V/MAX WITH D/CODE “A]” “X]” “U]” “S]” “D]” “V]” “I]” “M]” “PH]” BY A/AMC BY D/CODE

LISTDICT RMIM or LISTDICTS RMIM will do basically the same thing. I didn’t lookup ‘LISTDICTS’ to find the difference between the two verions.