Search found 1877 matches

by Robert Sample
Tue Jun 20, 2023 10:07 pm
Forum: Interview Questions.
Topic: COBOL interview question on PERFORM VARYING.
Replies: 4
Views: 1242
United States of America

Re: COBOL interview question on PERFORM VARYING.

Code is 77 C PIC 9(04) COMP. 77 RESULT PIC 9(04). PROCEDURE DIVISION. 000-START. PERFORM VARYING C FROM 1 BY 1 UNTIL C = 6 ADD 1 TO RESULT END-PERFORM. DISPLAY 'C= ' C ' RESULT= ' RESULT. with results of C= 0006 RESULT= 0005 The test is performed before the execution of the loop and hence these resu...
by Robert Sample
Fri Jun 16, 2023 12:38 am
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: mail from mainframe, the French letter "é" is getting converted to ©.
Replies: 5
Views: 4098
United States of America

Re: mail from mainframe, the French letter "é" is getting converted to ©.

Your best bet will be to talk to whoever developed that OPSGS3B program to get help. IBM mainframes, like most computers these days, supports the use of different language sets (which are called code pages). There is a French code page, a standard English code page, and a number of variations of Eng...
by Robert Sample
Thu Jun 15, 2023 5:57 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: mail from mainframe, the French letter "é" is getting converted to ©.
Replies: 5
Views: 4098
United States of America

Re: mail from mainframe, the French letter "é" is getting converted to ©.

You'll need to look into which code page you need. Then you'll need to move your email text from instream into a data set with that code page.
by Robert Sample
Tue Jun 13, 2023 12:01 am
Forum: Interview Questions.
Topic: What happens when we reopen a ps file and start reading.
Replies: 5
Views: 6883
United States of America

Re: What happens when we reopen a ps file and start reading.

It is rare to open one file more than once in a COBOL program. I've done it a few times in my last 48 years of writing COBOL code but the total can be counted on my fingers.
by Robert Sample
Tue Jun 06, 2023 7:25 pm
Forum: SAS & Cloud Computing.
Topic: Does anyone have sas tutorial on mainframe?
Replies: 4
Views: 6729
United States of America

Re: Does anyone have sas tutorial on mainframe?

I put "free sas courses" in my search engine and got lots of hits, including some from SAS.com.
by Robert Sample
Mon Jun 05, 2023 8:04 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: learn mainframe modernisation.
Replies: 3
Views: 1552
United States of America

Re: learn mainframe modernisation.

Click on Resources at the top, then click on Slideshare and start reading the slide shows. You can also click random links to see what they are talking about. The only way to start is to click something.
by Robert Sample
Mon Jun 05, 2023 7:58 pm
Forum: SAS & Cloud Computing.
Topic: Does anyone have sas tutorial on mainframe?
Replies: 4
Views: 6729
United States of America

Re: Does anyone have sas tutorial on mainframe?

sas.com will have some materials. Note that there is little difference between SAS on a PC and SAS on a mainframe. The only real difference is use of DD statements and their associated options.
by Robert Sample
Fri May 26, 2023 7:16 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Mainframe cobol and Microfocus cobol.
Replies: 1
Views: 1065
United States of America

Re: Mainframe cobol and Microfocus cobol.

Since there are international standards for the COBOL language, the main differences will be the platform being used, the options available and how they are specified. I have taken mainframe COBOL programs, made a few minor tweaks (screen handling on a PC versus file I/O on a mainframe) and run them...
by Robert Sample
Tue May 16, 2023 8:52 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Mainframe videos for learning
Replies: 2
Views: 1039
United States of America

Re: Mainframe videos for learning

You will get much better results by specifying some more detail about what you want to learn. Mainframes encompass hardware and software, and hence you need to specify what you want to learn. Learning about the hardware management console, for example, will be a very different experience than wantin...
by Robert Sample
Tue May 16, 2023 8:48 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: No SQL directives set ,during compilation of a program.
Replies: 2
Views: 1433
United States of America

Re: No SQL directives set ,during compilation of a program.

Assembler program? COBOL program? PL/I program? Some other type of program? The message means that you did NOT tell the compiler that you have EXEC SQL statements in your code, and hence the compiler did not prepare your program correctly. Go back and set the SQL directive in the compile JCL (or pro...
by Robert Sample
Tue May 16, 2023 8:45 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Abend U3607.
Replies: 1
Views: 973
United States of America

Re: Abend U3607.

The U means this is a USER abend, as opposed to a system abend. As a user abend, you MUST determine which application generated the message and consult it for help. The CAPE on the message ID indicates that you are using a vendor product, so I recommend you contact that vendor for help. And do NOT p...
by Robert Sample
Tue May 02, 2023 8:52 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: How to purge jobs submitted using rexx
Replies: 6
Views: 2183
United States of America

Re: How to purge jobs submitted using rexx

Get your friend's help to code up the REXX -- I don't use it often enough to provide any assistance.
by Robert Sample
Tue May 02, 2023 8:49 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: What is WHEN=INIT and WHEN= GROUP in JCL sort
Replies: 4
Views: 2456
United States of America

Re: What is WHEN=INIT and WHEN= GROUP in JCL sort

You define the records that belong to a group using an appropriate combination of BEGIN=(logexp), END=(logexp), KEYBEGIN=(field) and RECORDS=n parameters. A group is whatever you need it to be -- it could be based upon the values in a particular column or columns, for example. WHEN=INIT applies to ...
by Robert Sample
Tue Apr 25, 2023 9:03 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: What is WHEN=INIT and WHEN= GROUP in JCL sort
Replies: 4
Views: 2456
United States of America

Re: What is WHEN=INIT and WHEN= GROUP in JCL sort

From the z/OS DFSORT: Getting Started manual: WHEN=INIT: Use one or more WHEN=INIT clauses to apply BUILD, FINDREP or OVERLAY items to all of your input records. WHEN=INIT clauses and WHEN=GROUP clauses are processed before any of the other IFTHEN clauses. WHEN=GROUP: Use one or more WHEN=GROUP clau...
by Robert Sample
Tue Apr 25, 2023 6:50 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: How to purge jobs submitted using rexx
Replies: 6
Views: 2183
United States of America

Re: How to purge jobs submitted using rexx

What is the operator's concern -- the number of jobs in the system or the amount of spool output? Talk to your site support group about using a MSGCLASS that does not retain the output on the spool. If your site has a product that supports batch processing of spool data, you MIGHT be able to do what...
by Robert Sample
Tue Apr 25, 2023 6:45 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: how to convert Excel sheet into mainframe file
Replies: 1
Views: 1241
United States of America

Re: how to convert Excel sheet into mainframe file

Does the Excel sheet have more than one worksheet? If so, you most likely will have to treat each worksheet as a separate mainframe data set. If it has one worksheet (or for each worksheet of a multi-worksheet file), convert the worksheet into a comma-delimited file on the PC, transfer the .csv file...
by Robert Sample
Tue Apr 25, 2023 6:37 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: how to remove bad record from a file?
Replies: 1
Views: 960
United States of America

Re: how to remove bad record from a file?

Well, that depends partly on the format of the data set. For a VSAM KSDS, you can program a DELETE command for the key of the bad record. For a VSAM ESDS or other sequential data set, you copy the entire data set to another one, omitting the bad record. Copying it back to the original location is op...
by Robert Sample
Tue Apr 25, 2023 6:28 pm
Forum: Interview Questions.
Topic: What happens when we reopen a ps file and start reading.
Replies: 5
Views: 6883
United States of America

Re: What happens when we reopen a ps file and start reading.

Windows and Linux machines open files as well -- but implicitly for the most part. COBOL being well over 50 years old needs the open explicitly stated.
by Robert Sample
Mon Apr 24, 2023 9:24 pm
Forum: Testing Tools, Mainframe Application Testing, Abends Solution & QA.
Topic: DFSMS error in BINDER and xpediter.
Replies: 1
Views: 1806
United States of America

Re: DFSMS error in BINDER and xpediter.

You probably need to change the XDYNAMIC data set to a PDSE instead of a PDS.

Go to advanced search