I have two enhancement requests for PDIR:
1. Most Important- Optional ability to suppress the blank/space character that is automatically inserted between fields. If one is needed between particular fields it can be added with the literal capability that already exists.
2. Would be nice- Optional ability to specify the field separator character(s) other than the default blank/space character.
Reason:
I have been trying to use PDIR on V9.02 to create SQL Server BCP input text data and it works perfectly except for the blank/space field separator character that PDIR inserts between fields. I can't simply massage the output to eliminate all blanks because some fields contain wanted blanks.
Maybe there is already a way to do this that I just haven't figured out, and if so, maybe someone can point me in the right direction. What I have been doing to get around this is to copy/paste the PDIR output into my text editor, setting the column bounds to include only those columns where I want to eliminate the blank/space characters, and then replacing them with "nothing" (everything shifts left over top of where the blanks were). I also realize that I could write a .BTM to do this, but with my suggestion, PDIR would be a one-step solution.
Carl
1. Most Important- Optional ability to suppress the blank/space character that is automatically inserted between fields. If one is needed between particular fields it can be added with the literal capability that already exists.
2. Would be nice- Optional ability to specify the field separator character(s) other than the default blank/space character.
Reason:
I have been trying to use PDIR on V9.02 to create SQL Server BCP input text data and it works perfectly except for the blank/space field separator character that PDIR inserts between fields. I can't simply massage the output to eliminate all blanks because some fields contain wanted blanks.
Maybe there is already a way to do this that I just haven't figured out, and if so, maybe someone can point me in the right direction. What I have been doing to get around this is to copy/paste the PDIR output into my text editor, setting the column bounds to include only those columns where I want to eliminate the blank/space characters, and then replacing them with "nothing" (everything shifts left over top of where the blanks were). I also realize that I could write a .BTM to do this, but with my suggestion, PDIR would be a one-step solution.
Carl