How to Copy Symbolic Parameters into O/P file using JCl.



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

How to Copy Symbolic Parameters into O/P file using JCl.

Postby kiruthi » Thu May 03, 2012 5:12 pm

Hi,

I would like to dummy my input file if PARM value is "06"(MM),For all other parm values, the input file should be normal.

Is there any way to do this with JCL..?

Thanks.
kiruthi
 
Posts: 2
Joined: Tue Sep 20, 2011 4:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to Copy Symbolic Parameters into O/P file using JCl.

 

Re: How to Copy Symbolic Parameters into O/P file using JCl

Postby BillyBoyo » Thu May 03, 2012 5:32 pm

Why have you posted in DFSORT/ICETOOL?

Have you got a Sort step where you want to ignore all the input for a specific value established in the JCL?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: How to Copy Symbolic Parameters into O/P file using JCl

Postby kiruthi » Thu May 03, 2012 8:04 pm

Using JP#,is there any way to retrieve parm value?
I thought of
1.Retrievin the Parm value into output file.And check the value using IFTHEN .
2.If '06' found then,dummy the input file using "Build",else copy the input file to temp file and pass it onto next step..
To Create output file with Parm value,I searced in net and found code with symbolic parameter replacement of Parm value JP#. I tried with the Sort card
INREC BUILD=(1,80,JP1)
But got Syntax error.
My question is how to create output file with Parm value.So that I can proceed further..Please correct me if am wrong.
kiruthi
 
Posts: 2
Joined: Tue Sep 20, 2011 4:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to Copy Symbolic Parameters into O/P file using JCl

Postby BillyBoyo » Thu May 03, 2012 8:31 pm

Sorry, i'm still not clear.

Do you have a parameter which you want to match against data to exclude, or a parameter which is telling you data file or no data file?

If you can describe what it is you want to achieve, rather than how you think you should achieve it, things will be clearer.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: How to Copy Symbolic Parameters into O/P file using JCl

Postby Frank Yaeger » Thu May 03, 2012 10:36 pm

But got Syntax error.


Presumably JP1 is a symbol you tried to create on the EXEC statement, but you haven't shown your EXEC statement. How are we supposed to help you figure out why you got a syntax error when you don't show your JCL, the messages you got, etc?

You need to a better job of explaining exactly what you're trying to do, what you tried, and what messages you received before anyone can help you.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1080
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 14 times

Re: How to Copy Symbolic Parameters into O/P file using JCl

Postby gokulNmf » Fri May 04, 2012 7:52 pm

can you please post the jcl?
Cheers,
Gokul
User avatar
gokulNmf
 
Posts: 114
Joined: Sat Mar 28, 2009 6:41 pm
Location: India
Has thanked: 0 time
Been thanked: 0 time


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post