mainframe

INSYNC vs SORT.. How can i achieve it?

I have a INSYNC batch to 'extract' certain conditioned data output. For instance, below insync code extracts the data if 44 pos has a value of '25'. Question here is, I wanna get the output in a sorted manner based on a particular field. Can we incorporate the SORT criteria below. Suggestions are really appreciated. FUNCTION=EXTRACT IND...

How to write a HEX string into a file as HEX using REXX..

I have a string 'RAJA' which should be written into a file as HEX data. Here are sample codes which help me to describe the issue. Case(a) name = 'RAJA' name = C2X(name) /* Hex value = '52414A41' */ QUEUE name. Output to the file: 52414A41 But if we use HEX data directly to write into file it's working fine Case(b) name = '52414A...

How to pass arguments to REXX program through JCL..

Can we pass arguments to a REXX program from JCL? I suppose, JCL PARM can be used as we use for passing arguments to COBOL programs.. Do put your ideas here... ...

AciveX Control in browser, how can I automate?

I am using an ActiveX control (HTEWEB.CAB) in a browser to access a commmand line interface to a remote mainframe, and I want to automate the process. I was hoping to use .NET VB to send a command and then parse the respone. I have always been a db programmer, and I am not familiar with Comm and this kind of thing. An suggestions wou...

Is there a TSO command written in REXX or CLIST that can determine WHO has enqueued a dataset?

I need to write a REXX Exec or Clist to identify WHO has enqueued a Dataset and display a user friendly message on an ISPF dialog application. Due to system configuration issues, the %WHOHAS command is not available. However I also know that ISPF itself (Option 3.4) has proprietary hooks into the zos mainframe to display the enqueued r...

How do I transition from mainframe programmer to client server programmer ?

I was a Adabas/Natural and Cobol mainframe programmer for 16 years ending in 2002. I have a vast amount of experience in the analysis, design, development, testing, implementation and documentation of online and batch applications. I would like to get back into software development after a 7 year hiatis raising my children. I have b...

Know any papers comparing trade-offs of Web Applications vs Terminal Applications (Mainframe)?

Does anyone know of a good article, paper, or publication that researches trade-offs between web apps and terminal apps? Specifically, I'd like to see some data on performance and TCO. Other comparison points would be useful as well. ...

What's an elegant way to retrieve all times of the day (1 hour resolution) in DB2 without a backing table?

I'm querying some data from a table in DB2/z which holds hourly data but occasionally skips some hours (if the clients don't send up details for that hour). Since I'm feeding the data straight into a charting tool which needs a query to get the axis data, it sometimes has missing values from the time axis and looks ugly: 23.00 |=== 22....

Where can i find COBOL MAINFRAME JCL CICS Video Tutorials?

Please give me the links where I can find video tutorials for COBOL MAINFRAME JCL CICS Video Tutorials. Please help. ...

Is there some way to access Sql server from z/OS mainframe and have the result in IBM 3270 terminal emulation?

I tagged this question "impossible" because after a lot of googling, i have not find any trace\reference to a possible answer. I'm asking if there is some way\dirtytrick (possibly cheap) to access Microsoft Sql Server from z/OS mainframe (COBOL programs) and have the result in 3270 terminal emulation; i know that 3270 is a pretty old sys...

How to create a fixed blocked (FB) file for IBM mainframe/FTP in VBA

I've got VBA code that generates a text file with some pretty basic information included. I then upload that file via FTP. I got a message from the server admin of the IBM mainframe today that my file was in variable blocking (VB) format and their job process uses a fixed blocking (FB) up to a max size of 256. How is this done? Durin...

Setting break points in z390 Portable Mainframe Assembler and Emulator?

I've been using the old Dos version of Assist and would like to use the z390 Portable Mainframe Assembler and Emulator instead. I'm able to compile and run programs but am not clear on how to set break points. For example in assist given the following section of an assembly listing 000006 5020C03A 00003C (1/21)21 ...

Allocation of memory with LE routines

At /questions/2000777/allocation-of-memory-in-variable-length-tables NealB mentioned LE routines to allocate/deallocate memory in a non-CICS COBOL program. I'd very much like to know how this is done: how the LE routine is called. (I'm familiar with the LINKAGE SECTION and with SET ADDRESS.) Since I have no access to an IBM mainframe a...

Explanation about TSO ISPF commands and their use in MAINFRAMES!

Please give me some links or materials covering the explanation of TSO ISPF commands in mainframes and their use. ...

How can I access mainframe data with .Net applications and SQL Queries?

We have a large amount of data stored on an IBM mainframe using VSAM files. A lot of this data is dropped on the network every night in the form of text files to be processed and dumped into FoxPro and SQL Server databases. There are also many text files produced nightly by custom applications that get uploaded to the mainframe to keep e...

How to list out a GDG base properties through REXX..

How to know GDG base properties through REXX code; Of course we can view the GDG limit thru File-aid 3.2 option But need to list the properties on the fly and may be used in consecutive program/module. Hope made you clear and waiting for response! (Do let me know if any other information is required?) ...

Electronic resources for learning Z/OS assembler?

This is a follow up to this question. I'm totally blind so printed books aren't an option. All the recommended books appear to have been published before electronic publishing got started. I've been able to learn the very basics but would like something between here's what a register is, and the IBM reference material. Searching the norm...

How to read a PS file in reverse order?

I have a PS file to be read in reverse order and process accordingly. Do we have a way to mention to read the file in reverse order in FD in COBOL module? OR do we have something to achieve the same using SORT? Note: Reading the records into a buffer (array) and using it in reverse order would be the first idea that comes to mind but th...

How to convert a alphanumeric string into numeric decimal in COBOL

For eg., i have alphanumeric string 'ABCDEF 0 0.450' and i need to get '0.450' as numeric decimal and do arithmetic on it. Do we have a way? Please suggest. ...

JCL file to create PDS and member

How can I write a JCL file that will create a PDS and a member within that same PDS? ...