IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ISRSUPC doubt


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
balajiofcrrcoe

New User


Joined: 07 Jul 2005
Posts: 41
Location: chennai

PostPosted: Fri May 12, 2006 9:27 pm
Reply with quote

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.
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Fri May 12, 2006 11:40 pm
Reply with quote

Putting the data in PARM is different from putting the data in SYSIN. If you wanna do it, you have to code your own Search routine to accept this.

By the way what are you searching for.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Doubt about pl/1 (job offer) General Talk & Fun Stuff 5
No new posts Need example for CALL 'ISRSUPC' in COBOL COBOL Programming 2
No new posts doubt when executing a file when logg... TSO/ISPF 2
No new posts Doubt in MFS IMS DB/DC 2
Search our Forums:

Back to Top