Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all 8500 articles
Browse latest View live

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: steve-myers
Posted: Tue Oct 03, 2017 12:42 am (GMT 5.5)

Use a search engine for phpbb code and follow some of those links. phpbb is the software that runs this forum and many other similar forums on the internet. When a moderator suggests you use code tags they mean to use phpbb tags that cause the software to emit ...
Code:
a block of text in a font with fixed width letters like this.

You can see what I did by clicking on the quote block at the upper right.


CICS :: RE: VSAM RLS Wait time

$
0
0
Author: John Gay
Posted: Tue Oct 03, 2017 3:22 am (GMT 5.5)

Maybe due to IAM not being a true VSAM file?
Check out the IAM manual, I believe IAM has it's own RLS.

G/L
John

JCL & VSAM :: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: d_sarlie
Subject: PS file data should be passed as symbolic paramter to PROC
Posted: Tue Oct 03, 2017 5:18 am (GMT 5.5)

Hi,

Input file-1 : R040
Input file-2 : R050
Input file-3 : R060

In the sort step the input file could be one of it which is mentioned below. I need to replace the sort in file with the qualifiers R040,R050 OR R060 from the above mentioned input file.

M.S760DP.&STEP..SORTOUT

I want to read the input file and replace it with appropriate values mentioned below. Can you please highlight the concept with which I could do.

M.S760DP.R040.SORTOUT
M.S760DP.R050.SORTOUT
M.S760DP.R060.SORTOUT

I checked for post I didn't see anything which match my requirement.
Can somebody help me with this.

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: Nic Clouston
Posted: Tue Oct 03, 2017 5:34 am (GMT 5.5)

apart from the fact that they are data sets and not files your requirement is totally unclear. Please show an example of what you mean not justg isolated data set names. And use the code tags.
_________________
Regards
Nic

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: Robert Sample
Posted: Tue Oct 03, 2017 5:35 am (GMT 5.5)

Write a program in the language of your choice to read the sequential data set (the only files on a mainframe are in Unix System Services or on tape) and generate a job using the data set names you want; submit this job into the internal reader. You CANNOT modify the JCL of the executing job once it has gone through the converter / interpreter -- so what you want CANNOT be done with a single job.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: d_sarlie
Posted: Tue Oct 03, 2017 5:40 am (GMT 5.5)

Robert Sample wrote:
submit this job into the internal reader.



I think I got to come across this content. But I didn't know how to submit the job into internal reader
_________________
jeba

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: d_sarlie
Posted: Tue Oct 03, 2017 5:42 am (GMT 5.5)

Nic Clouston wrote:
And use the code tags.


Last time in one of the post you asked me to post the code with code tags.
May be I am 9+ years of experienced I don't understand how you want me to post the code.
_________________
jeba

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: d_sarlie
Posted: Tue Oct 03, 2017 5:52 am (GMT 5.5)

I want to run the same job multiple times.I am not interested in creating multiple jobs.The client list is not the same.For each run it will be different.

I tried to get R040,R050 AND R060 from scheduler and pass it as symbolic parameter to the JCL.
I am unable to get that because during JCLPREP usage of this as Scheduler parameter is restricted.

R040 --> M.S760DP.R040.SORTOUT (file which has list of client for schedule-1)


SCHEDULE-1
JOB-1
JOB-2
JOB-3

R050 --> M.S760DP.R050.SORTOUT (file which has list of client for schedule-2)

SCHEDULE-2
JOB-1
JOB-2
JOB-3


R060 --> M.S760DP.R060.SORTOUT (file which has list of client for schedule-1)

SCHEDULE-3
JOB-1
JOB-2
JOB-3
_________________
jeba


JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: d_sarlie
Posted: Tue Oct 03, 2017 7:03 am (GMT 5.5)

Am I in the right forum.If so can somebody help me with the information.
_________________
jeba

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: Robert Sample
Posted: Tue Oct 03, 2017 7:21 am (GMT 5.5)

Quote:
Am I in the right forum.If so can somebody help me with the information.
People who answer on this forum are volunteers -- as in, they answer if they have the knowledge, the interest in answering, and the time to respond. It is by no means unusual for hours or days or weeks or months to pass between the time a question is posted and the time it is answered. Prompting for answers like this has the negative result of having those who could respond deciding to not respond to avoid the hassle.

Quote:
I am not interested in creating multiple jobs.
Then go find another forum that deals in miracles. This forum is for IBM mainframes, and on IBM mainframes JCL is fixed once the converter / interpreter has run against the JCL and cannot be changed, so you CANNOT read a data set and use the input of that data set to change the currently executing JCL. It flat out cannot be done, period.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: d_sarlie
Posted: Tue Oct 03, 2017 8:35 am (GMT 5.5)

Quote:
Then go find another forum that deals in miracles


Thanks for confirming that I will not be able to do anything on this based on JCL.

The Forum I meant is JCL forum or some other forum of IBM.
_________________
jeba

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: d_sarlie
Posted: Tue Oct 03, 2017 8:51 am (GMT 5.5)

In my case I am been asked to create 5 streams .A stream has 73 jobs.I need to create 365 jobs which would include Coding time,Testing,Migration ,scheduling,Transmission,support.

Can somebody suggest me some other solution which I could use.
_________________
jeba

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: steve-myers
Posted: Tue Oct 03, 2017 8:58 am (GMT 5.5)

d_sarlie wrote:
Am I in the right forum.If so can somebody help me with the information.

Possibly, though I suspect what you seem you want to do is not strictly "JCL."

There are programs collectively called "scheduler" prpgrams. Some of these programs can take a data set containing "JCL," perhaps modify it in some way, and submit it to the system to run. I do not use any of these programs, so I am ignorant of their details and capabilities.

Mr. Clouston suggested you use "code tags.", which you do not appear to understand. This web site, along with many others, is run using software known as phpbb software. Use your preferred search site to lookup phpbb codes. Mr. Clouston is simply asking you to use code in your response that directs directs the phpbb software ...
Code:
... emit a box using a font with fixed width letters.


Mr. Sample, in another response, directed you to use a program written in a computer language of your choice to prepare JCL written to your requirements and submit it using an "internal reader," which you do not seem to understand. An "internal reader" is just an ordinary sequential data set defined using JCL DD statement like this -
Code:
//ddname DD SYSOUT=(class,INTRDR)
"class" is a single letter that specifies the default message class for the jobs that are submitted on the internal reader. When your program writes data to an "internal reader" data set, the system operates as though the job is being entered on a real card reader. "Internal readers" are very common; scheduler programs use them to submit jobs, and when you submit a batch job from your TSO session it is submitted via an internal reader.

JCL & VSAM :: Execute JCL step based on the content of a file

$
0
0
Author: sprikitik
Subject: Execute JCL step based on the content of a file
Posted: Tue Oct 03, 2017 10:03 am (GMT 5.5)

Hello,

I have a job (job1) that creates a file which contains a 4 digit code. I also have a second job (job2) that will take the file created in job1 as input. Whether or not steps in job2 will be executed will depend on the 4 digit code in the file. Can somebody please give me an idea on how to accomplish this?

Ex. File from job1 has 0000, step1 in job2 will be executed.

Thanks!

SYNCSORT :: Addition of two records on 2 fields

$
0
0
Author: amar143
Subject: Addition of two records on 2 fields
Posted: Tue Oct 03, 2017 11:14 am (GMT 5.5)

Hi,
My input file have records as shown below:
I want to add count and price for same SRNO and CDE.
SRNO -- length 6 bytes
CDE -- lenght 2 bytes
COUNT -- length 1 byte
PRICE -- length 4 bytes

Input file:
SRNO CDE COUNT PRICE
100001 10 2 1000
100001 10 2 1000
100001 20 4 3000
100001 20 2 1000
100002 20 2 5000
100002 20 2 1000

Output should be
100001 10 4 2000
100001 20 6 4000
100002 10 4 6000

can we achieve above addition of fields through JCL?
Thanks in advance for yor help!!


All Other Mainframe Topics :: User access certification In Mainframes using BOSS

$
0
0
Author: Virendra Shambharkar
Subject: User access certification In Mainframes using BOSS
Posted: Tue Oct 03, 2017 12:32 pm (GMT 5.5)

Hi,

I am looking for more details around User access certification In Mainframes using BOSS . I did not get any information by searching on the web. If anybody is aware can you share more information on this .

Thanks in advance.
_________________
Virendra Shambharkar

All Other Mainframe Topics :: RE: User access certification In Mainframes using BOSS

$
0
0
Author: enrico-sorichetti
Subject: Reply to: User access certification In Mainframes using BOSS
Posted: Tue Oct 03, 2017 12:53 pm (GMT 5.5)

it would have been be nice if you had been more specific about the BOSS You are asking info about
_________________
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort icon_cool.gif

JCL & VSAM :: RE: Execute JCL step based on the content of a file

$
0
0
Author: Willy Jensen
Posted: Tue Oct 03, 2017 1:32 pm (GMT 5.5)

Use DFSORT/ICETOOL
1) filter data selecting the record containing the code, output to a temporary dataset.
2) test for the temporary dataset being empty, setting return code accordingly. ICETOOL COUNTS function as I recall.
3) submit job2 from job1 if return code indicates code was found.
_________________
WJ

JCL & VSAM :: RE: PS file data should be passed as symbolic paramter to PROC

$
0
0
Author: Willy Jensen
Posted: Tue Oct 03, 2017 1:38 pm (GMT 5.5)

Quote:
I want to run the same job multiple times.I am not interested in creating multiple jobs

I take that to mean that you are running the same JCL multiple times with different input datasets? If that is the case, then I would look at a JCL procedure, which can be inline or in a user-defined dataset. All nicely described in the JCL manual.
_________________
WJ

CLIST & REXX :: RE: Rexx to execute spool commands

$
0
0
Author: Willy Jensen
Posted: Tue Oct 03, 2017 1:53 pm (GMT 5.5)

You say that the modified job ends with the same error messages. But messages from the first job had:
IEC020I 001-5,TESTSPLJ,STEP1 ,SYSTSIN ,JES
I don't think that you get that message again after you assigned SYSTSIN to a dataset.
SP and ++ALL belongs to the ISFIN DD, so I think that you JCL should look like this:
Code:
//STEP1 EXEC PGM=IKJEFT01,PARM='%SPLPERC1'
//SYSEXEC DD DSN=IGCF.TSO.EXEC,DISP=SHR
//SYSTSIN DD DUMMY
//SYSTSPRT DD SYSOUT=*
//ISFOUT DD DSN=TEST.INPUT1,DISP=SHR
//ISFIN DD DSN=TEST.CMD,DISP=SHR
//SYSIN DD DUMMY

_________________
WJ

Viewing all 8500 articles
Browse latest View live