Ron,
If there are no required fields in the segment you can set up an iterate on the segment(s).
If the segment isn’t there on the inbound message you shouldn’t enter the iterate loop. Your basis won’t be a list, it will probably be group or segment – the specifics will depend on your message definition.