Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Continuation of PARM value in REXX batch execution

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
senjay

Active User


Joined: 10 May 2007
Posts: 147
Location: India

PostPosted: Fri Aug 21, 2009 9:23 pm    Post subject: Continuation of PARM value in REXX batch execution
Reply with quote

Hi,

I have the below lines in my JCL.

Code:

//S030     EXEC PGM=IKJEFT01,COND=(0,LT),                           
//          PARM='%#MEMBER &HLQ..&JCLN..D&GGG..T&SSS..AAA &FILEID'


Now I want to add one more PARM value next to &FILEID. I searched in the manuals. Unfortunately my search is not good enough to get me the results. Can anyone please guide me how can i continue the PARM value in the next line.

I know if the new value is small, then i can pass it via SYSTSIN. But I would like to know how to achieve for the above case.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Fri Aug 21, 2009 10:24 pm    Post subject:
Reply with quote

Click on the manuals link at the top of the page, click on the JCL Reference manual, go to chapter 16.8.1 and you find the syntax is
Quote:
PARM[.procstepname]=subparameter
PARM[.procstepname]=(subparameter,subparameter)
PARM[.procstepname]=('subparameter',subparameter)
PARM[.procstepname]='subparameter,subparameter'
with a restriction of
Quote:
Length: The length of the subparameters passed must not exceed 100
characters:

° Including any commas, which are passed to the processing program.
° Excluding any enclosing parentheses or apostrophes, which are not
passed.
and further
Quote:
Continuation onto Another Statement: Enclose the subparameters in
parentheses. End each statement with a comma after a subparameter. For
example:

//STEP1 EXEC PGM=WORK,PARM=(DECK,LIST,'LINECNT=80',
// '12+80',NOMAP)


So which manual did you search in?
Back to top
View user's profile Send private message
senjay

Active User


Joined: 10 May 2007
Posts: 147
Location: India

PostPosted: Fri Aug 21, 2009 10:35 pm    Post subject: Reply to: Continuation of PARM value in REXX batch execution
Reply with quote

Hi Robert,

My search results showed the same as that of yours. searched in REXX manuals too. I am executing a Rexx via batch and when i tried with various options shown in the JCL manual, I got JCL error. Few of them are UNIDENTIFIABLE CHARACTER % ON THE EXEC STATEMENT,
UNBALANCED PARENTHESES ON THE EXEC STATEMENT

So I was confused a bit. I was searching for the continuation parameter for PARM values in REXX manuals. As i said earlier, i was not able to find any.


Sample one:
Code:

//S030     EXEC PGM=IKJEFT01,COND=(0,LT), 
//          PARM=(%#MEMBER,               
// XXXX.dddd.ffff,H1DNT1)                 


Error:
Code:
5 IEFC620I UNIDENTIFIABLE CHARACTER % ON THE EXEC STATEMENT     
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Aug 21, 2009 11:38 pm    Post subject: Reply to: Continuation of PARM value in REXX batch execution
Reply with quote

Code:

//S030     EXEC PGM=IKJEFT01,COND=(0,LT), 
//          PARM=(#MEMBER,               
// 'XXXX.dddd.ffff','H1DNT1')                 


works for me ...
Back to top
View user's profile Send private message
senjay

Active User


Joined: 10 May 2007
Posts: 147
Location: India

PostPosted: Fri Aug 21, 2009 11:45 pm    Post subject: Reply to: Continuation of PARM value in REXX batch execution
Reply with quote

Thanks a lot SuperK. It worked perfectly.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us