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
 
How to usign null value to report

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
atik

New User


Joined: 29 Jul 2005
Posts: 20

PostPosted: Mon Sep 12, 2005 12:53 pm    Post subject: How to usign null value to report
Reply with quote

Hi
I have a situation where I am using a job as a model for my new job. The job takes some 8 input files and creates 8 reports. In my new job I want only 3 reports to be generated using the same proc. So I assigned NULLFILE to the files which are not necessary. But how to assing null value to the reports? The symbolic parameter used are used in the sysout in proc like

In job
//P100CRD='NULLFILE',

In Proc
//P100RPT DD SYSOUT=&P100RPT

If I give like this it gives as
CAY6042E OPERAND "NULLFILE" IS TOO LONG FOR "CLASS" PARAMETER OF
"SYSOUT"
Please tell me how to assign Null value in this situation.

Atik
Back to top
View user's profile Send private message

MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon Sep 12, 2005 3:18 pm    Post subject:
Reply with quote

You can override the report in your jcl where you call the proc or use a variable in your proc with default.
Here you will find two samples:
1)Override DD:
Code:
//TRYPROC  PROC VARSYS='SYSOUT=*'
//STEP010I EXEC PGM=IEFBR14       
//DD1      DD &VARSYS             
//         PEND                   
//CALLPROC EXEC TRYPROC           
//STEP010I.DD1 DD SYSOUT=B       


2) Using a variable:
Code:
//TRYPROC  PROC VARSYS='SYSOUT=*'
//STEP010I EXEC PGM=IEFBR14     
//DD1      DD &VARSYS           
//         PEND                 
//CALLPROC EXEC TRYPROC         
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Mon Sep 12, 2005 3:31 pm    Post subject: Re: How to usign null value to report
Reply with quote

Wouldn't you want to specify:

//STEPxxxx EXEC procname
//*
//PROCSTEP.P100RPT DD DSN=NULLFILE,DISP=SHR
or
//PROCSTEP.P100RPT DD DUMMY
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Sep 14, 2005 5:49 am    Post subject:
Reply with quote

You might want to try:

//P100RPT DD &RPTYPE

Then exec the proc:

//S1 EXEC PROC1,RPTYPE=DUMMY
or
//S1 EXEC PROC1,RPTYPE='SYSOUT=A'

You can do something similar w/the I/P DS.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts Copying part of the report using SARBCH Aedulla CA Products 1 Tue Oct 24, 2017 9:24 am
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Report cost in CA-dispatch Nileshkul CA Products 3 Wed Jun 07, 2017 10:32 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm

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