Search found 14 matches
- 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: 3130
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...
- 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: 3130
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...
- 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: 3130
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
- 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: 3130
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.
I have a question HOW TO IDENTIFY WEATHER THE KSDS EMPTY OR NOT USING SORT UTILITY.
- Mon Aug 14, 2023 5:01 pm
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: Mainframe as a career.
- Replies: 30
- Views: 26895
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 ...
- Mon Aug 14, 2023 4:55 pm
- Forum: JCL - Job Control Language.
- Topic: what disp parameter can be used?
- Replies: 4
- Views: 1240
Re: what disp parameter can be used?
Thanks zum13. This works.
I'll keep posted in case our requirements changes.
What does zum13 means?
I'll keep posted in case our requirements changes.
What does zum13 means?
- 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: 1751
Re: BLKSIZE is always multiple of Lrecl in recfm=fb?
Thanks Robert. But it becomes very tough to learn all this.
- Mon Aug 07, 2023 5:11 pm
- Forum: JCL - Job Control Language.
- Topic: what disp parameter can be used?
- Replies: 4
- Views: 1240
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...
- Mon Aug 07, 2023 4:36 pm
- Forum: JCL - Job Control Language.
- Topic: what disp parameter can be used?
- Replies: 4
- Views: 1240
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
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
- 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: 1751
Re: 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.Sharad Nikam wrote: ↑Sun Jul 16, 2023 2:19 pm Hi,
is it true that BLKSIZE is always multiple of Lrecl in recfm=fb?
- Sun Jul 16, 2023 2:36 pm
- Forum: Thought of the Day, General Talk & Jokes.
- Topic: Mainframe as a career.
- Replies: 30
- Views: 26895
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...
- Thu Jan 12, 2017 2:43 pm
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: Add different tabs in the spread sheet and send attachment using IEBGENER.
- Replies: 6
- Views: 2721
Re: Add different tabs in the spread sheet and send attachment using IEBGENER.
Thank you so much Robert and vasanthz. Will work from here.
- 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: 2721
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
- Tue Sep 13, 2016 2:45 pm
- Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
- Topic: Sort the output again using sort.
- Replies: 1
- Views: 375
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...