Two different systems
Scopus is a commercial abstract and citation database run by Elsevier. Coverage means Scopus indexes the journal's content, and its selection is governed by an independent content selection board applying published criteria.
HJRS recognition is a policy instrument of Pakistan's Higher Education Commission. It determines what counts toward Pakistani academic requirements, and it is not a database — it is a recognition list.
They are connected by mechanism rather than by rule: because HJRS computes its Journal Prestige Index partly from Scopus metrics, a journal absent from Scopus has fewer inputs available, which tends to place it lower. That is a correlation produced by the formula, not a stated dependency.
Scopus is a database; HJRS is a recognition policy. They overlap because HJRS uses Scopus metrics as inputs — not because one requires the other.
The four combinations
Both recognised and indexed: the straightforward case. The paper counts in Pakistan and is visible internationally. This is what to aim for where it is achievable.
HEC-recognised, not Scopus-indexed: common in the Y category. The paper counts for Pakistani requirements but is largely invisible to international readers and to any assessment that looks at Scopus. Adequate for a local requirement, weak for a career that may cross borders.
Scopus-indexed, not HEC-recognised: possible, since recognition depends on the category thresholds HEC applies. The paper is internationally visible but may not satisfy a requirement that specifies HJRS recognition.
Neither: no international visibility and no local recognition. If a journal is in neither system, ask what exactly you are getting.
Which you need
It depends entirely on what the work has to do. For a Pakistani PhD requirement or a promotion case assessed against HEC rules, HJRS recognition is the binding constraint and the specific category may be specified.
For an international career — a postdoc abroad, a foreign faculty application, or an evidence-based visa petition — international indexing and independent citation carry the weight, and HJRS recognition means little to an assessor outside Pakistan.
Where both apply, target journals that satisfy both, and verify each at its own source before submitting. Where you genuinely cannot have both, decide which requirement is binding for your actual plans rather than the one that is easier to satisfy.