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

JCL EXEC PARM data in C


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Grant Goodale

New User


Joined: 13 Nov 2010
Posts: 67
Location: Brampton, Ontario, Canada

PostPosted: Wed Oct 18, 2023 1:21 am
Reply with quote

I am using the argc|argv variables to extract the EXEC PARM field data. However, it seems that C is doing some (unwanted) parsing. I code:

('OPT Key1(val1,val2) Key2(val3)')

and I get:

argc=4
argv=OPT
argv=Key1(val1,val2)
argv=Key2(val3)

Is anyone aware of (a) any way to stop the parsing, (b) any method another than argc|argv or (c) any way of letting spaces through?

TIA
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2000
Location: USA

PostPosted: Wed Oct 18, 2023 1:58 am
Reply with quote

Google bless you:

ARGPARSE | NOARGPARSE (C only)

It takes faster to use Google, rather than posting topics to the forum.
Back to top
View user's profile Send private message
Grant Goodale

New User


Joined: 13 Nov 2010
Posts: 67
Location: Brampton, Ontario, Canada

PostPosted: Wed Oct 18, 2023 8:32 pm
Reply with quote

Thanks. I was googling on EXEC PARM, not parse! Doh!
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 -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
This topic is locked: you cannot edit posts or make replies. Automation need help in sorting the data DFSORT/ICETOOL 38
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
Search our Forums:

Back to Top