• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Dateformat

StiffBoard

ADSM.ORG Senior Member
#1
Trying to get an ISO dateformat in logs and so on, no luck. Is it dsm.opt for dateformat? Also in dsmserv.opt?

Thought this would work, but no
define clientopt WINDOWS dateformat 3 SEQ=5 force=yes

Dateformat doesn't seem to be a valid Client Option. But I also found this example from Admin reference to change seq number: update clientopt eng dateformat 0 9

So why can't I define it?
 

StiffBoard

ADSM.ORG Senior Member
#3
Hard to tell without seeing the error message.
Checked the links before posting...

Running: define clientopt WINDOWS dateformat 3 SEQ=5 force=yes

Gives: DEFINE CLIENTOPT: Invalid option name - DATEFORMAT. Retry using the full optionname.

DATEFORMAT is not an option in CLIENTOPT...

Makes you wonder why this is an example in Admin guide: update clientopt eng dateformat 0 9
 

marclant

ADSM.ORG Moderator
#4
Gives: DEFINE CLIENTOPT: Invalid option name - DATEFORMAT. Retry using the full optionname.
Ah, so it's not that it doesn't work as an option for the client, it's that you cannot use in a client option set.
Makes you wonder why this is an example in Admin guide: update clientopt eng dateformat 0 9
It's weird that they use that as an example when it's not in the list of options you can use in a client option set:
https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.4/client/c_opt_setbyserver.html
 

StiffBoard

ADSM.ORG Senior Member
#5
Ah, so it's not that it doesn't work as an option for the client, it's that you cannot use in a client option set.

It's weird that they use that as an example when it's not in the list of options you can use in a client option set:
https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.4/client/c_opt_setbyserver.html
Sure is weird, I'd prefer if I got yyyy-mm-dd everywhere. But guess I'll have to enter that i dsmserv.opt and in dsm.opt on all my clients manually then?
 

marclant

ADSM.ORG Moderator
#6
That's your only option if you want to use that everywhere.

I understand you. I only like that date format too. It just makes more sense, start from largest to smallest. year, month, day, hour, minute, seconds, milliseconds, ... It's a lot easier to manipulate in a text file and sort too, don't need to worry about positions of columns, just sort from the beginning of the line. I wish ISO was used everywhere.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 9 20.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 23 52.3%
  • Let's be formal and just say Spectrum Protect

    Votes: 8 18.2%
  • Other (please comement)

    Votes: 4 9.1%

Forum statistics

Threads
31,078
Messages
132,323
Members
21,276
Latest member
tion1976
Top