View previous topic :: View next topic
|
Author |
Message |
FNYD
New User
Joined: 11 May 2021 Posts: 14 Location: INDIA
|
|
|
|
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 |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
Totally incomprehensible question, even after reading it 43 times. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2141 Location: USA
|
|
|
|
A complete mess of words with no meaning... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
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 |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 734 Location: Denmark
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
|