Free software training Videos

Free software training Videos
https://www.youtube.com/user/VLRTraining

List Of Best WebSites

Monday 26 November 2012

selective command prompting IN AS 400

REFER

??     The parameter is displayed and input-capable.
?*     The parameter is displayed but is not input-capable. Any user-specified value is passed to the command processing program.
?<     The parameter is displayed and is input-capable, but the command default is sent to the CPP unless the value displayed on the parameter is changed.
?/     Reserved for IBM use.
?–     The parameter is not displayed. The specified value (or default) is passed to the CPP. Not allowed in prompt override programs.
?&     The parameter is not displayed until F9=All parameters is pressed. Once displayed, it is input-capable. The command default is sent to the CPP unless the value displayed on the parameter is changed.
?%     The parameter is not displayed until F9=All parameters is pressed. Once displayed, it is not input-capable. The command default is sent to the CPP.
EXAMPLE
 FMT **  ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5
        *************** Beginning of data *****************
0001.00 PGM                                               
0002.00   ?CRTSRCPF                                       
0003.00 ENDPGM                                            
        ****************** End of data ********************

OUTPUT









EXAMPLE2
        *************** Beginning of data *******************************
0001.00 PGM                                                             
0002.00              ?          CRTSRCPF ??FILE(CHVRAMESH1/AERCEFI) +   
0003.00                         ??TEXT('COMMAND PROMPTING')             
0004.00 ENDPGM                                                          
        ****************** End of data **********************************


No comments:

Post a Comment