Search found 14 matches

by Maven JJ
Tue Aug 22, 2023 2:41 pm
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY
Replies: 9
Views: 2991

Re: IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY

Along with that, SORT products can also work with VSAM: //STEP1 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //IN DD DSN=... input-vsam-dataset //TOOLIN DD * COUNT FROM(IN) EMPTY RC4 /* This produces RC as 4, if the input VSAM dataset is empty. Another variation: /STEP1 EXEC PGM=ICET...
by Maven JJ
Tue Aug 22, 2023 2:40 pm
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY
Replies: 9
Views: 2991

Re: IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY

DFSORT only really likes sequential datasets, so using it do do this check on a VSAM file isn't doable (unless something has changed recently). What you need is an IDCAMS "PRINT" command: //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //DD1 DD DSN=your.vsam.dataset,DISP=SHR //SYSIN DD * P...
by Maven JJ
Mon Aug 14, 2023 7:07 pm
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY
Replies: 9
Views: 2991

Re: IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY

What I want exactly if the file is empty I want to run the second step like this
by Maven JJ
Mon Aug 14, 2023 7:06 pm
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY
Replies: 9
Views: 2991

IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY

HI all,

I have a question HOW TO IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY.
by Maven JJ
Mon Aug 14, 2023 5:01 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Mainframe as a career.
Replies: 30
Views: 25400

Re: Mainframe as a career.

If your rational is that every UI/UX developers or any other open source technology developer is/are getting paid more, it's not straight forward correct, if someone is getting paid they have done their labor. For instance, just look for the salaries of just Java developers, they are not that good ...
by Maven JJ
Mon Aug 14, 2023 4:55 pm
Forum: JCL - Job Control Language.
Topic: what disp parameter can be used?
Replies: 4
Views: 1109

Re: what disp parameter can be used?

Thanks zum13. This works.

I'll keep posted in case our requirements changes.

What does zum13 means?
by Maven JJ
Mon Aug 14, 2023 4:54 pm
Forum: JCL - Job Control Language.
Topic: BLKSIZE is always multiple of Lrecl in recfm=fb?
Replies: 6
Views: 1607

Re: BLKSIZE is always multiple of Lrecl in recfm=fb?

Thanks Robert. But it becomes very tough to learn all this.
by Maven JJ
Mon Aug 07, 2023 5:11 pm
Forum: JCL - Job Control Language.
Topic: what disp parameter can be used?
Replies: 4
Views: 1109

Re: what disp parameter can be used?

Probably you want to know which DISP can be used in two steps where at one step it works in OUTPUT mode and in other step as INPUT: It’s MOD but keep in mind when you will run job second time first step will append data at bottom instead of writing altogether new from first line What if I want to o...
by Maven JJ
Mon Aug 07, 2023 4:36 pm
Forum: JCL - Job Control Language.
Topic: what disp parameter can be used?
Replies: 4
Views: 1109

what disp parameter can be used?

Hi,

I have a step that passes data from input to output file my output file should created newly and next my job runs i dont want to change any of the disp parameters..So can please suggest what disp parameter i can use
by Maven JJ
Sun Jul 16, 2023 2:38 pm
Forum: JCL - Job Control Language.
Topic: BLKSIZE is always multiple of Lrecl in recfm=fb?
Replies: 6
Views: 1607

Re: BLKSIZE is always multiple of Lrecl in recfm=fb?

Sharad Nikam wrote: Sun Jul 16, 2023 2:19 pm Hi,

is it true that BLKSIZE is always multiple of Lrecl in recfm=fb?
If you mention the BLKSIZE as greater than 0, then it should be multiple of LRECL. Else 0 also works.
by Maven JJ
Sun Jul 16, 2023 2:36 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Mainframe as a career.
Replies: 30
Views: 25400

Re: Mainframe as a career.

So that means, mainframes are actually expensive? Yes and no. The dollar cost can be high, but you need to consider that there can be 10,000 or more people using the machine simultaneously. So the per-user cost for a mainframe actually tends to be less than (or equivalent to) the per-user cost of w...
by Maven JJ
Fri Jan 06, 2017 9:08 am
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Add different tabs in the spread sheet and send attachment using IEBGENER.
Replies: 6
Views: 2700

Add different tabs in the spread sheet and send attachment using IEBGENER.

Hi All , I need to send the data in a single excel but in different tabs using mainframe. As of now, I'm able to send data in different excel sheet but not in tabs of the same sheet. Is it possible to put data into same excel sheet but in different tabs using IEBGENER or any other utilities ? Thanks
by Maven JJ
Tue Sep 13, 2016 2:45 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: Sort the output again using sort.
Replies: 1
Views: 355

Sort the output again using sort.

I have a file having state code and some more records in it. I need to find that how many records are there for each state code.The 150-151 colums hold the US state code. Records in dataset are like this: |ST|AGENT:CODE|EFF DATE| ======================== IL |A |021 |20160128| MI |A |002 |20160110| C...

Go to advanced search