Search found 1877 matches
- Sat May 04, 2024 10:16 pm
- Forum: Interview Questions.
- Topic: execute only step 2 and step 4 in JCL
- Replies: 1
- Views: 119
Re: execute only step 2 and step 4 in JCL
Edit the JCL to delete the other steps and submit it.
- Tue Apr 23, 2024 8:27 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: checkpoint in cobol program?
- Replies: 2
- Views: 766
Re: checkpoint in cobol program?
Read the RERUN clause in the I-O-CONTROL paragraph starting on page 154 of the version 6.4 of Enterprise COBOL Language Reference manual. You will probably also want to review the RERUN information in the Programming Guide manual.
- Tue Apr 23, 2024 8:21 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: read multiple input passed in COBOL
- Replies: 3
- Views: 862
Re: read multiple input passed in COBOL
You can only pass ONE parameter from JCL to COBOL. You can parse that parameter any way you need, but it is only one parameter with one entry in the LINKAGE SECTION.
- Tue Apr 23, 2024 8:19 pm
- Forum: Interview Questions.
- Topic: copy data from vsam to ps
- Replies: 4
- Views: 711
Re: copy data from vsam to ps
Why on earth would you want to do this? IDCAMS is easy to use and efficient. You could write a program to do the copy, but you'd have to write a program for every single copy you want to do -- use IDCAMS.
- Tue Apr 23, 2024 8:14 pm
- Forum: Interview Questions.
- Topic: soc7 error in huge file.
- Replies: 1
- Views: 579
Re: soc7 error in huge file.
You will need to learn how to read the dump -- that will tell you the exact record with the problem and point you towards where the S0C7 occurred.
- Thu Apr 18, 2024 7:08 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: read multiple input passed in COBOL
- Replies: 3
- Views: 862
Re: read multiple input passed in COBOL
It is not clear what you are asking -- you'll need to provide an example so we can see what you want. Parameters passed from JCL, in general, are available through the LINKAGE SECTION.
- Thu Apr 18, 2024 7:06 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: read a VSAM file from bottom to top and length of a string using COBOL?
- Replies: 5
- Views: 1087
Re: read a VSAM file from bottom to top and length of a string using COBOL?
Assuming you mean in reverse order when you say "from bottom to top" -- this cannot be done in Enterprise COBOL without adding a sequence number to the data set and sorting by the sequence number (descending). Repeat after me: "COBOL DOES NOT HAVE STRINGS!" Look at the PICTURE ...
- Tue Apr 16, 2024 4:28 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: convert S9(5)V9(2) Comp 3 to alphanumeric
- Replies: 2
- Views: 619
Re: convert S9(5)V9(2) Comp 3 to alphanumeric
COBOL MOVE statement.
- Thu Apr 11, 2024 10:01 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: In COBOl, compare two files and write matching records to a file ...
- Replies: 6
- Views: 9858
Re: In COBOl, compare two files and write matching records to a file ...
Not necessarily. If the data set is sequential, and if the data set is sorted by some key, and if the key includes the HIGH-VALUES then that record will be last. However, I've seen times when the data set wasn't sorted and the HIGH-VALUES occurred in the first record or somewhere in the middle of ...
- Mon Apr 08, 2024 6:43 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: In COBOl, compare two files and write matching records to a file ...
- Replies: 6
- Views: 9858
Re: In COBOl, compare two files and write matching records to a file ...
Yes, a data set can have a record of HIGH-VALUES (which is merely X'FFFFFF...') but it can also be used as a stop value, too.
- Fri Mar 29, 2024 1:53 am
- Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
- Topic: How to find out the list of jobs with the file name using tso command?
- Replies: 4
- Views: 1291
Re: How to find out the list of jobs with the file name using tso command?
If your site uses a scheduler, investigate what an be done through the scheduler. If your site submits through a PDS or PDSE, use ISPF option 3.14 to search the PDS / PDSE. If neither of these is true, resign yourself to looking at each of the many thousands of job libraries that exist at your sit...
- Tue Mar 19, 2024 6:44 pm
- Forum: Interview Questions.
- Topic: trigger a job through a job ?
- Replies: 3
- Views: 739
Re: trigger a job through a job ?
Check the JCL Reference manual -- //*NET is definitely NOT a comment.
- Tue Mar 19, 2024 6:43 pm
- Forum: SyncSort, SyncTool, SyncGener.
- Topic: Copy records only having a specific strings.
- Replies: 2
- Views: 627
Re: Copy records only having a specific strings.
I think SORT will do this but I'm not an expert on SORT so I cannot say for sure.
- Tue Mar 19, 2024 6:42 pm
- Forum: Interview Questions.
- Topic: How to solve batch getting file already open error.
- Replies: 3
- Views: 575
Re: How to solve batch getting file already open error.
If I recall correctly, and I may not, CICS does an implicit VERIFY when opening a VSAM file that needs the VERIFY.
- Tue Mar 19, 2024 6:39 pm
- Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
- Topic: remove duplicates in two files and write unique to output file
- Replies: 1
- Views: 525
Re: remove duplicates in two files and write unique to output file
SORT is, by far, the easiest way to do this. Other than using an array, you could use a matched merge program in COBOL or other language of your choice.
- Tue Mar 19, 2024 6:37 pm
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: What is vatage tool in mainframe?
- Replies: 1
- Views: 473
Re: What is vatage tool in mainframe?
I've never heard of a mainframe tool called "ventage". There is a tool called CA-VANTAGE and you can research it on the CA web site (or do a Google search).
- Tue Mar 19, 2024 6:35 pm
- Forum: Interview Questions.
- Topic: perform cond for the first step in the jcl?
- Replies: 4
- Views: 796
Re: perform cond for the first step in the jcl?
Probably because then there would have to be special logic for the first step as opposed to all the other steps. It's easier to just evaluate the first step COND as false.
- Tue Mar 19, 2024 6:33 pm
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: retrieve a deleted VSAM file.
- Replies: 6
- Views: 919
Re: retrieve a deleted VSAM file.
"Does that mean system never takes a back-up of any data by default? Like we have history folder in windows?" The roots of z/OS go back to OS/360 in 1964. The system won't take backups in general. If you are using HSM or one of its competitor products then they provide backups but that's...
- Wed Mar 13, 2024 12:44 am
- Forum: Interview Questions.
- Topic: How to solve batch getting file already open error.
- Replies: 3
- Views: 575
Re: How to solve batch getting file already open error.
IDCAMS VERIFY
- Mon Mar 11, 2024 9:20 pm
- Forum: Other Mainframe Topics, Off-Topics, FAQs.
- Topic: retrieve a deleted VSAM file.
- Replies: 6
- Views: 919
Re: retrieve a deleted VSAM file.
This is a question that can only be answered by your site support group. The answer will depend upon the site, it's storage policies, and it's backup / retention policies in particular. In general, if the data set was deleted and you don't have a backup of it, then it is gone.