Tips & Tricks

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 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 […]

Mainframe Wiki © 2015 Frontier Theme