How do I do conditional assemblies based on a macro library level?
Often times, you want your S/390 Assembler program to assemble on any version of a macro library. To do this: • Put a mapping macro at the top of your program source • Use the D’field method to determine if a given field is defined. This will tell you the macro library level. To make this clearer. Let’s say you have a program that you would like to use the CSVQUERY macro if the MVS macro library is at the level that has it. Here is some sample code that does conditional assemblies based on the MVS macro library level: CVT DSECT=YES,LIST=NO … AIF (NOT D’CVTH4430).MVS43X At MVS 4.3 maclib or higher? CSVQUERY … .