The most common and most likely answer to this crossword clue is the 3 plus 11 letter word NIL DESPERANDUM
I've seen this crossword clue in The Sunday Telegraph
N
I
L
D
E
S
P
E
R
A
N
D
U
M
More clues leading to the result NIL DESPERANDUM
Buddy explains!

The straight part
We know that "keep your pecker up!" is the straight/definition part of the clue. The straight part is often a synonym or definition, in this case keep your pecker up! = nil desperandum.The cryptic/wordplay part
In cryptic crossword there's often an wordplay/cryptic part as well.This part involves a more complex hint, such as an anagram, homophone, hidden word, etc.
Sadly, We don't have an explanation for this specific crossword clue yet.