Consider the following MWE.
\documentclass[preview,border=12pt,varwidth]{standalone}
\usepackage{amsmath}
\begin{document}
\abovedisplayskip=0pt\relax
\begin{equation}
\begin{cases}
ax + by =c \\
px + qy = r
\end{cases}
\end{equation}
\end{document}
produces an output as follows.

What I want to achieve is as follows.

Is there any idea?
My attempt is as follows, but it does not compile.
\documentclass[preview,border=12pt,varwidth]{standalone}
\usepackage{amsmath}
\begin{document}
\abovedisplayskip=0pt\relax
\begin{equation}
\begin{cases}
ax + by =c \tag{OK}\\
px + qy = r \tag{Yes}
\end{cases}
\end{equation}
\end{document}
\refstepcounter{equation}(\theequation)after every line inside a fakecasesenvironment. – TheVal Sep 09 '13 at 12:40\begin{pmatrix}a&b\\p&q\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}c\\r\end{pmatrix}etc. – percusse Sep 09 '13 at 12:43