UNSTRING statement

STRING statement use in cobol program

STRING statement strings together the partial or complete contents of two or more data items or literals into one single data item. STRING needs at least two identifiers or literals. It can only concatenate alphabetic and alpha-numeric items. It will remove multiple instances of delimiter character and consider multiple spaces as a single space. END-STRING,

STRING statement use in cobol program Read More »

UNSTRING statement

Intrinsic Functions in COBOL Programs

COBOL Intrinsic Functions provides many ways to manipulate data. These are a set of functions that return values from a specific algorithm on input arguments. Intrinsic Functions are available for mathematics, character manipulation, date/time and statistics, and financial work. These functions are elementary data items that will return a numeric (whole or decimal) or an

Intrinsic Functions in COBOL Programs Read More »

PARSE fields using IFTHEN parameter

PARSE and IFTHEN PARSE are new options that allow you to extract variable position/length fields into fixed-length parsed fields defined as %nn fields. It gives you powerful new capabilities for handling variable fields such as delimited fields, comma-separated values (CSV), tab-separated values, blank-separated values, keyword-separated fields, null-terminated strings, and many other types. The PARSE parameter

PARSE fields using IFTHEN parameter Read More »

Paired records F1 using SORT

Paired records F1 – Below example illustrates how you can select only paired records from one of two files. In this case, we will select the F1 records that have a match in F2 on the specified keys (for example, key1=Development and key2=Master). The F1 records are in comma-delimited form so we will parse them

Paired records F1 using SORT Read More »

JOINKEYS joining two files using SORT

JOINKEYS feature joins transactions/records from two different files based on certain keys (i.e. fields with common information). The SORTJNF1 and SORTJNF2 DD statements were used to specify these files. Each JOINKEYS statement must specify the DDNAME of the file it applies to and the starting position, length, and sequence of the keys in that file. You

JOINKEYS joining two files using SORT Read More »

INCLUDE OMIT condition in SORT JCL

You can use the INCLUDE OMIT statement in conjunction with other options to select/omit the number of records to be processed, which can reduce processor and data transfer time. The INCLUDE and OMIT statements allow you to select records by comparing fields with constants or other fields. Only one INCLUDE/OMIT control statement can be specified

INCLUDE OMIT condition in SORT JCL Read More »

PMP Certification Practice Exam Real Mode

Preparing for the Project Management Professional (PMP Certification) is challenging & according to the Project Management Institute (PMI®), project professionals spend on average more than 35 hours preparing for the PMP Certification. These questions test your understanding and memory of the domains and other topics in the PMBOK. Therefore these exam questions are intended to trick you

PMP Certification Practice Exam Real Mode Read More »

PMP Certification Practice Exam Practice Mode

PMP Certification Practice Exam – Project Management Professional (PMP Certification) is challenging & according to the Project Management Institute (PMI®), project professionals spend on average more than 35 hours preparing for the PMP Certification. PMP Certification questions test your understanding and memory of the domains and other topics in the PMBOK. Therefore these exam questions are intended

PMP Certification Practice Exam Practice Mode Read More »

Scroll to Top