IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need to create report and dynamicaly pass values for report


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
FNYD

New User


Joined: 11 May 2021
Posts: 14
Location: INDIA

PostPosted: Wed Jun 02, 2021 12:26 pm
Reply with quote

Hi Team,

i have a requirement where i need to each time create a report with different report names in it , this is dynamic , how can i achieve it with either Cobol or REXX
sample is

THE "H" is report name passed next time it can be something else like say "CLAIMS" ,this value will be dynamic coming from user or any parameter
any idea or link which can help me achieve this..
[/code]
Code:




   date1            header  1
   date2           header 2

 *
 *                                                  H        H       
                                                     H        H       
                                                    HHHHHHH       
                                                     H        H       
                                                     H        H       

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

Senior Member


Joined: 07 Feb 2009
Posts: 1315
Location: Vilnius, Lithuania

PostPosted: Wed Jun 02, 2021 2:18 pm
Reply with quote

Totally incomprehensible question, even after reading it 43 times.
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2141
Location: USA

PostPosted: Wed Jun 02, 2021 2:23 pm
Reply with quote

A complete mess of words with no meaning...
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Wed Jun 02, 2021 8:34 pm
Reply with quote

read the cobol and jcl manuals
on how to use the jcl construct PARM to pass data to a program
Code:
//<stepname> EXEC PGM=<somepgm>,PARM='<string to be passed to the program'

gazillions of examples on a forum

and pleas be honest with Yourself, reread the post Yoou made
and think if it is the proper way to ask for help

I reread CAREFULLY all Your posts,
You might be more comfortable on the sibling forum for beginners
www.ibmmainframeforum.com
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3076
Location: NYC,USA

PostPosted: Wed Jun 02, 2021 8:36 pm
Reply with quote

I agree and moved to appropriate section.

Why so many 'H's ? Regardless use the PARM as suggested or if its data set to be read then so be it , read and move it to right Header field before write.

enrico-sorichetti wrote:

I reread CAREFULLY all Your posts,
You might be more comfortable on the sibling forum for beginners
www.ibmmainframeforum.com

Btw a new section is created "STUDENT FORUMs" to move topic there instead of sending to the Beginners link. FYI.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 734
Location: Denmark

PostPosted: Thu Jun 03, 2021 2:30 am
Reply with quote

Where do the report come from?
Where do the header come from (saying 'a parm' isn't enough)?
Where do the report go to?

I assume that the answers to 1 and 3 could be DDNAME or perhaps dataset, but you need to be specific. And for the header spec there must be a source somewhere. Again you need to be specific.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Thu Jun 03, 2021 3:36 am
Reply with quote

Quote:
Where do the report come from?

irrelevant IMO

Quote:
Where do the header come from (saying 'a parm' isn't enough)?

from the sample posted, the string passed to the proigram should be printed in block letters

Quote:
Where do the report go to?

irreĆ²evant IMO
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts Overwriting SSN Digits in Easytrieve ... CA Products 0
No new posts Is this possible via sort (in one pass)? SYNCSORT 4
No new posts how to eliminate null indicator value... DB2 7
No new posts How can I add/create a new INIT(initi... TSO/ISPF 2
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
Search our Forums:

Back to Top