adding " . " with column name
Moderators: chulett, rschirm, roy
adding " . " with column name
Hi
I am creating file from mainframe source files.
But I would like give column name with ".".
ex :NameID but in my out put file I need Name.ID
Is there anyway I can able to add "." for columnname?
Thanks
Man
I am creating file from mainframe source files.
But I would like give column name with ".".
ex :NameID but in my out put file I need Name.ID
Is there anyway I can able to add "." for columnname?
Thanks
Man
Do you mean creating a first record which contains the column names? Since that's based on the field names in the job and "." is not valid in a field name the stock answer on can you do this automagically would be no.
You could create the record "before job" and then set your output to append to the newly created one record file. Do this by a simple 'echo' of the contents to the filename or keep a one record file stashed elsewhere and copy it to the target location, overwriting what is there.
You could create the record "before job" and then set your output to append to the newly created one record file. Do this by a simple 'echo' of the contents to the filename or keep a one record file stashed elsewhere and copy it to the target location, overwriting what is there.
Last edited by chulett on Sat Jun 25, 2011 6:59 am, edited 1 time in total.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 258
- Joined: Tue Jul 04, 2006 10:35 pm
- Location: Toronto
-
- Premium Member
- Posts: 258
- Joined: Tue Jul 04, 2006 10:35 pm
- Location: Toronto
Yes.samyamkrishna wrote:Are you asking me to explain a bit more.
It's one thing to say "do X" when it is obvious what that means, but a general statement like "use unix commands after job" should really be explained. IMHO. And I'm sure Mandyli would appreciate it as well.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 258
- Joined: Tue Jul 04, 2006 10:35 pm
- Location: Toronto