Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8165
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: 4650
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us