Method: IIT#src_type

Defined in:
lib/iit.rb

#src_type(lib, srcpf, mbr) ⇒ Object



66
67
68
69
# File 'lib/iit.rb', line 66

def src_type(lib, srcpf, mbr)
  result = DSPFD(lib.chomp('.LIB'), srcpf.chomp('.FILE'), '*MBRLIST')  
  /^(?=.*\s\s#{mbr.chomp('.MBR')}\s).{30}(.{7})/.match(result)[1].strip rescue ''
end