ISPVCALL ISPVCALL is a program written by the great Doug Nadel, this program writes information about your environment to a trace data set including OS version RACF version TSO Version JES Version CPU • Memory allocation The list of allocated DD names and data sets and a hell lot more that you shall possibly […]
Tips & Tricks
Sample COBOL Program Using “Occurs Depending On”
In this post we will try to explore a sample program, which creates a variable length file using the COBOL Occurs Depending on clause. I am assuming that you are familiar with the clause and its function so we wont delve into detailed explanation and COBOL syntax but rather explain the use of occurs […]
Search using SRCHFOR Command
SRCHFOR primary command to search for one or more strings of data, this command can be used to search for a string in Sequential data sets Partitioned data sets Individual members of partitioned data sets Concatenated data sets You can search for more than one string in a single pass. You can also search […]
Generating XML using COBOL
You can produce XML output from a COBOL program by using the XML GENERATE statement , the XML GENERATE statement takes as input the source data item for which the XML needs be generated and stores the corresponding XML in a target or receive data item mentioned in your XML GENERATE statement. Both the source and […]
Reformatting Records Using OUTREC – Part 2
We will explore few more common uses of OUTREC with examples below 1 . Inserting Zeros, Spaces and Character strings to your output You can insert blanks before, between, or after fields. You can use X or 1X to specify a single blank. You can use nX to specify n blanks.To insert 10 blanks, write 10X […]
Reformatting Records Using OUTREC – Part 1
Though OUTREC is one of the most frequently used features of DFSORT, many still find a SORT cards with OUTREC FIELDS=(21:106,4,35:1,75) confusing . We will try to explore the many uses of OUTREC in this article with some examples . OUTREC gives you the flexibility to reformat your output file in multiple ways . […]
How to submit your Mainframe Job from windows
You can submit any mainframe JCL from your desktop using just a few FTP commands, to do so follow the below steps. To submit a mainframe job first you need to establish connectivity with your mainframe, to do this type the below command from your command prompt in windows C:\>ftp ftp> OPEN xx.xxx.x.xxx (mainframe […]