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
 

 

How to continue DB2 PARMS in new line.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
sudhee_rb

New User


Joined: 29 Mar 2006
Posts: 34

PostPosted: Thu Feb 04, 2010 7:41 pm    Post subject: How to continue DB2 PARMS in new line.
Reply with quote

Hi

I wanted to add one more parameter to existing parms(parm has alredy reached 72 chrs)

Can anybody pls help me how to (continue in new line) add the new parm(length is 3bytes) to the below parms.


//LOAD0000.SYSTSIN DD *
DSN SYSTEM(DB2T)
RUN PROG(DTXCMDSV) -
PLAN(HIPLAN0) -
PARMS('MA -IF1 I1 -IF2 EMCNPIDT -OF1 O1 -OF2 F2 -OF3 F3 /VX15 I1 –ADE')
END
/*
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Feb 04, 2010 9:21 pm    Post subject:
Reply with quote

Hello,

At the top of the page is a link to "IBM Manuals". Among these is the JCL Language Reference. Search that manual for info on PARM. There is both an explanation of what you want to do and at least one example.

If you find something in the manual that is not clear, post what you found and your doubt about it. Someone will be able to clarify.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Mar 07, 2010 8:04 am    Post subject:
Reply with quote

Hello,

A bit of an update. . .

I mis-read the original question icon_redface.gif

Quote:
PARMS(parameter-string)
parameter-string is a list of parameters that are to be passed to your application program. Separate items in the list with commas, blanks, or both, and enclose the list between apostrophes. If the list contains apostrophes, represent each apostrophe by using two consecutive apostrophes. The list is passed as a varying-length character string of 1- to 100-decimal characters.


Another question came my way and when i heard the new question, i remembered this topic.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1232
Location: Israel

PostPosted: Sun Mar 07, 2010 4:04 pm    Post subject: Reply to: How to continue DB2 PARMS in new line.
Reply with quote

As I don't know the answer, I ran a small job of mine:
Code:
Input1:
//SYSTSIN  DD *
  DSN SYSTEM(DB2T)
  RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU' -
  'LIAN')
  END
/*

Output1:
RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU'   'LIAN')
IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: 'LIAN'         

** MARSO002 ** INVALID PARM=JU

Doesn't work. Let's try again:
Code:
Input2:
//SYSTSIN  DD *
  DSN SYSTEM(DB2T)
  RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU-
  LIAN')
  END
/*

Output2:
RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU  LIAN')

** MARSO002 ** INVALID PARM=JU  LIAN

Much better, but not yet. Need only to try now:
Code:
Input3:
//SYSTSIN  DD *
  DSN SYSTEM(DB2T)
  RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JU-
LIAN')
  END
/*

Output3:
RUN PROGRAM(MARSO002) PLAN(TRBATCH) PARMS('JULIAN')

INPUT DATE.....: 1060517   
OUTPUT DATE....: 0002006137

It worked!
Now it's your turn to collect the rules for continuation of PARMS line...
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
This topic is locked: you cannot edit posts or make replies. Job to wait and continue based on reply yugendran COBOL Programming 5 Wed Oct 05, 2016 1:46 pm
No new posts Not enough virtual memory is availabl... Vinay Pushpala IBM Tools 16 Tue Sep 13, 2016 4:37 pm


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