Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

DFSORT/ICETOOL :: Use of Parm in SORT

$
0
0
Author: Ambili S
Subject: Use of Parm in SORT
Posted: Mon May 09, 2016 9:16 pm (GMT 5.5)

Hi

I am trying to get 'X' number of records from a file for each execution using ENDREC. I used SET and passed the value using PARM.

SET X=1000
In SORT , PARM='JP1"&X"'.

In Outfil i have ENDREC=JP1 , however, it is getting substituted as ENDREC=C'1000', instead of ENDREC=1000 and failing with syntax error.
_________________
Thanks


Viewing all articles
Browse latest Browse all 9405

Trending Articles