Hi Michael and all,
is it possible to add a label to a text file that I created with
sddsprintout -spreadsheet=csv -column=* file file.txt
I have tried defining the label as a parameter and adding -par=label without success.
I thank you for your excellent support to my queries.
Cheers, Max
Adding a label in a -spreadsheet file
Moderators: cyao, michael_borland
-
- Posts: 1933
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Adding a label in a -spreadsheet file
Max,
What happens when you add -par=label? It should insert an additional line of the form
label,"<value>"
What is it that you'd like to see happen?
--Michael
What happens when you add -par=label? It should insert an additional line of the form
label,"<value>"
What is it that you'd like to see happen?
--Michael
Re: Adding a label in a -spreadsheet file
Hi Michael,
I would like to see the string in the text file:
I have a string "count" as a parameter in count.sdds defined by:
sddsxref run2.cor count.sdds -transfer=par,count
.
.
.
that I transfer to run2.hrm (successfully) with
sddsxref run2.hrm count.sdds -transfer=par,count
and then to a text file run2.hrm.txt:
sddsprintout -spreadsheet=csv -column=* run2.hrm run2.hrm.txt -par=count run2.hrm run2.hrm.txt
the above line gives me an error "too many filenames"
Thanks, Max
I would like to see the string in the text file:
I have a string "count" as a parameter in count.sdds defined by:
sddsxref run2.cor count.sdds -transfer=par,count
.
.
.
that I transfer to run2.hrm (successfully) with
sddsxref run2.hrm count.sdds -transfer=par,count
and then to a text file run2.hrm.txt:
sddsprintout -spreadsheet=csv -column=* run2.hrm run2.hrm.txt -par=count run2.hrm run2.hrm.txt
the above line gives me an error "too many filenames"
Thanks, Max
-
- Posts: 1933
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Adding a label in a -spreadsheet file
Max,
The problem is the duplicated filenames. If you use
sddsprintout -spreadsheet=csv -column=* -par=count run2.hrm run2.hrm.txt
it should work.
--Michael
The problem is the duplicated filenames. If you use
sddsprintout -spreadsheet=csv -column=* -par=count run2.hrm run2.hrm.txt
it should work.
--Michael
Re: Adding a label in a -spreadsheet file
Thanks Michael. It works,
Max
Max