Set maximum lengths to 32670 in varchars and use globs in options

For input sources, outputs and options