balajiofcrrcoe
New User
Joined: 07 Jul 2005 Posts: 41 Location: chennai
|
|
|
|
Hi all,
i have a requirement to search a string whose length varys from 1 to 8 from a pds.
for this i am using the following code
//SEARCH EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,
// 'ANYC')
//NEWDD DD DSN=xxxxxxx.cobol.SRCELIB,
// DISP=SHR
//OUTDD DD SYSOUT=(*)
//SYSIN DD *
SRCHFOR '1 to 8 char string'
/*
the above is working fine
but when i am trying to pass the sysin card information thru a parm
which has
SRCHFOR '1 to 8 char string'
i am geeting rc of 28
and i am able to see in sysout
INVALID PROCESS STATEMENT DATA-VALUE/OPERAND, EXTRA DATA OR EXCEEDS , EXTRA DATA OR EXCEEDS COLUMN 72. STMT/OPERAND IGNORED.
can anybody help me out.
thanks in advance. |
|